diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2006-01-11 00:08:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-01-11 00:08:21 +0300 |
commit | 12fe2c588df77d60dfe13b432f95d00f76b8c969 (patch) | |
tree | 514a23f41aa81d89c5385ba67a58a0144693fbcc /net/bluetooth | |
parent | ea2e90dfcee2c09eff8a180976ace071922663a5 (diff) | |
download | linux-12fe2c588df77d60dfe13b432f95d00f76b8c969.tar.xz |
[NET]: Remove unneeded kmalloc() return value casts
Get rid of needless casting of kmalloc() return value in net/
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/hci_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index a31244e58888..f812ed129e58 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -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))) { |