Skip to content
Commit ad3e0b2f authored by YueHaibing's avatar YueHaibing Committed by Johan Hedberg
Browse files

Bluetooth: remove redundant variables 'adv_set' and 'cp'



Variables 'adv_set' and 'cp'  are being assigned but are never used hence
they are redundant and can be removed.

Cleans up clang warnings:
net/bluetooth/hci_event.c:1135:29: warning: variable 'adv_set' set but not used [-Wunused-but-set-variable]
net/bluetooth/mgmt.c:3359:39: warning: variable 'cp' set but not used [-Wunused-but-set-variable]

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 98146703
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment