diff options
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) | |||
935 | return chan; | 935 | return chan; |
936 | } | 936 | } |
937 | 937 | ||
938 | int hci_chan_del(struct hci_chan *chan) | 938 | void hci_chan_del(struct hci_chan *chan) |
939 | { | 939 | { |
940 | struct hci_conn *conn = chan->conn; | 940 | struct hci_conn *conn = chan->conn; |
941 | struct hci_dev *hdev = conn->hdev; | 941 | struct hci_dev *hdev = conn->hdev; |
@@ -948,8 +948,6 @@ int hci_chan_del(struct hci_chan *chan) | |||
948 | 948 | ||
949 | skb_queue_purge(&chan->data_q); | 949 | skb_queue_purge(&chan->data_q); |
950 | kfree(chan); | 950 | kfree(chan); |
951 | |||
952 | return 0; | ||
953 | } | 951 | } |
954 | 952 | ||
955 | void hci_chan_list_flush(struct hci_conn *conn) | 953 | void hci_chan_list_flush(struct hci_conn *conn) |