projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: sidewinder - handle errors from input_register_device()
[powerpc.git]
/
drivers
/
bluetooth
/
hci_h4.c
diff --git
a/drivers/bluetooth/hci_h4.c
b/drivers/bluetooth/hci_h4.c
index
12e369a
..
4804d47
100644
(file)
--- a/
drivers/bluetooth/hci_h4.c
+++ b/
drivers/bluetooth/hci_h4.c
@@
-76,12
+76,10
@@
static int h4_open(struct hci_uart *hu)
BT_DBG("hu %p", hu);
- h4 = k
m
alloc(sizeof(*h4), GFP_ATOMIC);
+ h4 = k
z
alloc(sizeof(*h4), GFP_ATOMIC);
if (!h4)
return -ENOMEM;
- memset(h4, 0, sizeof(*h4));
-
skb_queue_head_init(&h4->txq);
hu->priv = h4;