NFC: st21nfca: Remove unreachable code

kfree_skb(skb) in st21nfca_hci_event_received is never reach.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Christophe Ricard 2014-12-08 22:08:09 +01:00 committed by Samuel Ortiz
parent 9446f248d2
commit a968639bca
1 changed files with 0 additions and 2 deletions

View File

@ -845,8 +845,6 @@ static int st21nfca_hci_event_received(struct nfc_hci_dev *hdev, u8 gate,
default:
return 1;
}
kfree_skb(skb);
return 0;
}
static struct nfc_hci_ops st21nfca_hci_ops = {