OSDN Git Service

NFC: st21nfca: Remove skb_pipe_list and skb_pipe_info useless allocation
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Jan 2015 22:33:26 +0000 (23:33 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 26 Jan 2015 22:14:34 +0000 (23:14 +0100)
commitec03ff1a8f9a9e065fe905dd34078d272d8de6ea
tree3f3bce4a77e68bd7076b622c8ef17fb816e1bce5
parent511e78a38aa611f1bcc1f9b383766ad3e35816c0
NFC: st21nfca: Remove skb_pipe_list and skb_pipe_info useless allocation

skb_pipe_list and skb_pipe_info are allocated in nfc_hci_send_cmd.
alloc_skb on those buffer are then useless.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfca/st21nfca.c