OSDN Git Service

NFC: digital: Remove useless call to skb_reserve()
authorThierry Escande <thierry.escande@collabora.com>
Fri, 8 Jul 2016 13:52:40 +0000 (15:52 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 10 Jul 2016 23:56:45 +0000 (01:56 +0200)
commite8e7f4217564fc115b60a9373646afb193aa08cf
treee4a6a7ec99503e7dc9c9cfadd6a1483206119a83
parent1d984c2e03c1fb21539a9f50627e312788512013
NFC: digital: Remove useless call to skb_reserve()

When allocating chained I-PDUs, there is no need to call skb_reserve()
since it's already done by digital_alloc_skb() and contains enough room
for the driver head and tail data.

Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_dep.c