Repository navigation
Commit 965995b
Bluetooth: L2CAP: remove set but not used variable 'credits'
net/bluetooth/l2cap_core.c: In function l2cap_ecred_conn_req:
net/bluetooth/l2cap_core.c:5848:6: warning: variable credits set but not used [-Wunused-but-set-variable]
commit 15f02b9 ("Bluetooth: L2CAP: Add initial code for Enhanced Credit Based Mode")
involved this unused variable, remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>1 parent b354e6c commit 965995b
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5845 | 5845 | | |
5846 | 5846 | | |
5847 | 5847 | | |
5848 | | - | |
| 5848 | + | |
5849 | 5849 | | |
5850 | 5850 | | |
5851 | 5851 | | |
| |||
5868 | 5868 | | |
5869 | 5869 | | |
5870 | 5870 | | |
5871 | | - | |
5872 | 5871 | | |
5873 | 5872 | | |
5874 | 5873 | | |
| |||
0 commit comments