projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-block.git]
/
drivers
/
net
/
bsd_comp.c
diff --git
a/drivers/net/bsd_comp.c
b/drivers/net/bsd_comp.c
index bae1de1e78025ff05dbe12e8827ce49a0f38c9ca..7845eaf6f29f9f38a4d2b6ad9b5aa56496c82568 100644
(file)
--- a/
drivers/net/bsd_comp.c
+++ b/
drivers/net/bsd_comp.c
@@
-395,7
+395,7
@@
static void *bsd_alloc (unsigned char *options, int opt_len, int decomp)
* Allocate the main control structure for this instance.
*/
maxmaxcode = MAXCODE(bits);
- db =
(struct bsd_db *) kmalloc
(sizeof (struct bsd_db),
+ db =
kmalloc
(sizeof (struct bsd_db),
GFP_KERNEL);
if (!db)
{