commit | 6d2ce6e859049d6cf56e5db2197e02b0359ac442 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@nokia.com> | Sat Jan 08 00:02:57 2011 +0200 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Sat Jan 08 00:02:57 2011 +0200 |
tree | 36ead52cea2d86b6b0daa75f3e50227134d7a849 | |
parent | 952b5ca7d35d920f1a6c1218fd47ef7bb645bcc2 [diff] |
Remove unnecessary type cast
diff --git a/plugins/hciops.c b/plugins/hciops.c index ad83eb2..20b18c8 100644 --- a/plugins/hciops.c +++ b/plugins/hciops.c
@@ -2099,7 +2099,7 @@ 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);