diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-09-06 14:05:43 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-08 22:27:18 +0200 |
commit | 9472007c62ecc8f21daa2e1e252bf73b67e535fc (patch) | |
tree | 6e6cd3ff8ba4f9bf4e591a8acc27e13a8ef6031b /net/bluetooth/hci_conn.c | |
parent | Bluetooth: Remove unneeded zero init (diff) | |
download | linux-9472007c62ecc8f21daa2e1e252bf73b67e535fc.tar.xz linux-9472007c62ecc8f21daa2e1e252bf73b67e535fc.zip |
Bluetooth: trivial: Make hci_chan_del return void
Return code is not needed in hci_chan_del
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index 3e65c021df50..59f0344406c8 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -935,7 +935,7 @@ struct hci_chan *hci_chan_create(struct hci_conn *conn) return chan; } -int hci_chan_del(struct hci_chan *chan) +void hci_chan_del(struct hci_chan *chan) { struct hci_conn *conn = chan->conn; struct hci_dev *hdev = conn->hdev; @@ -948,8 +948,6 @@ int hci_chan_del(struct hci_chan *chan) skb_queue_purge(&chan->data_q); kfree(chan); - - return 0; } void hci_chan_list_flush(struct hci_conn *conn) |