summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo@padovan.org>2012-04-06 20:15:47 -0300
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 01:40:26 -0300
commit9033894722ec595053c92bfa4359b37e7bc91b78 (patch)
tree33707a9d67a8d024ebe78551ec8d1bded53666b8 /include/net
parentbd4b165312bacbf1e732cbc22c141362cfb5fda3 (diff)
downloadop-kernel-dev-9033894722ec595053c92bfa4359b37e7bc91b78.zip
op-kernel-dev-9033894722ec595053c92bfa4359b37e7bc91b78.tar.gz
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')
-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 c70e2cf..a756c24 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -519,7 +519,7 @@ struct l2cap_ops {
void (*close) (void *data);
void (*state_change) (void *data, int state);
struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan,
- unsigned long len, int nb, int *err);
+ unsigned long len, int nb);
};
OpenPOWER on IntegriCloud