mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 05:34:23 +08:00
Remove unnecessary type cast
This commit is contained in:
parent
952b5ca7d3
commit
6d2ce6e859
@ -2099,7 +2099,7 @@ static void device_devup_setup(int index)
|
||||
bacpy(&cp.bdaddr, BDADDR_ANY);
|
||||
cp.read_all = 1;
|
||||
hci_send_cmd(dev->sk, OGF_HOST_CTL, OCF_READ_STORED_LINK_KEY,
|
||||
READ_STORED_LINK_KEY_CP_SIZE, (void *) &cp);
|
||||
READ_STORED_LINK_KEY_CP_SIZE, &cp);
|
||||
|
||||
if (!dev->pending)
|
||||
init_adapter(index);
|
||||
|
Loading…
Reference in New Issue
Block a user