Remove unnecessary type cast

This commit is contained in:
Johan Hedberg 2011-01-08 00:02:57 +02:00
parent 952b5ca7d3
commit 6d2ce6e859

View File

@ -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);