X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbsd_comp.c;h=7845eaf6f29f9f38a4d2b6ad9b5aa56496c82568;hb=445583b89d71b48cf8c64e26acc5a710248feed7;hp=bae1de1e78025ff05dbe12e8827ce49a0f38c9ca;hpb=783c99f42e221217761e9c319838d5533107f7cb;p=powerpc.git diff --git a/drivers/net/bsd_comp.c b/drivers/net/bsd_comp.c index bae1de1e78..7845eaf6f2 100644 --- 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) {