]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2789b2a61364bee6d0dc0353f9715119d909ce0
treee4a6a7ec99503e7dc9c9cfadd6a1483206119a83
parent233353f6169d0b2f9def0173a0ab6fa43cbd7d5e
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