aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo@padovan.org>2012-04-06 19:15:47 -0400
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 00:40:26 -0400
commit9033894722ec595053c92bfa4359b37e7bc91b78 (patch)
tree33707a9d67a8d024ebe78551ec8d1bded53666b8 /include/net/bluetooth/l2cap.h
parentbd4b165312bacbf1e732cbc22c141362cfb5fda3 (diff)
Bluetooth: Remove err parameter from alloc_skb()
Use ERR_PTR maginc instead. Signed-off-by: Gustavo Padovan <gustavo@padovan.org> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index c70e2cf107ff..a756c2406306 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -519,7 +519,7 @@ struct l2cap_ops {
519 void (*close) (void *data); 519 void (*close) (void *data);
520 void (*state_change) (void *data, int state); 520 void (*state_change) (void *data, int state);
521 struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan, 521 struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan,
522 unsigned long len, int nb, int *err); 522 unsigned long len, int nb);
523 523
524}; 524};
525 525