summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/h4_recv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/h4_recv.h')
-rw-r--r--drivers/bluetooth/h4_recv.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bluetooth/h4_recv.h b/drivers/bluetooth/h4_recv.h
index 307d82166f48..87ccaceadba7 100644
--- a/drivers/bluetooth/h4_recv.h
+++ b/drivers/bluetooth/h4_recv.h
@@ -67,9 +67,6 @@ static inline struct sk_buff *h4_recv_buf(struct hci_dev *hdev,
while (count) {
int i, len;
- if (!count)
- break;
-
if (!skb) {
for (i = 0; i < pkts_count; i++) {
if (buffer[0] != (&pkts[i])->type)