]> err.no Git - linux-2.6/blobdiff - net/bluetooth/hci_conn.c
Merge branch 'master' of /home/src/linux-2.6/
[linux-2.6] / net / bluetooth / hci_conn.c
index a31244e58888c39d4cab34eb082c36b53fe40ec9..f812ed129e589cc1929bdf06830eef5f60243006 100644 (file)
@@ -403,7 +403,7 @@ int hci_get_conn_list(void __user *arg)
 
        size = sizeof(req) + req.conn_num * sizeof(*ci);
 
-       if (!(cl = (void *) kmalloc(size, GFP_KERNEL)))
+       if (!(cl = kmalloc(size, GFP_KERNEL)))
                return -ENOMEM;
 
        if (!(hdev = hci_dev_get(req.dev_id))) {