NFC: st21nfca: Remove unreachable code
[firefly-linux-kernel-4.4.55.git] / drivers / nfc / st21nfca / st21nfca.c
index f2596c8d68b0b36b12501914e7a1ea49ce16c058..880193b4a053a5f4b2dbb022f47908d323a9fb4e 100644 (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 = {