diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/capi/capidrv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/capi/capidrv.c b/drivers/isdn/capi/capidrv.c index 832bc807ed20..cc9f1927a322 100644 --- a/drivers/isdn/capi/capidrv.c +++ b/drivers/isdn/capi/capidrv.c | |||
@@ -469,8 +469,7 @@ static int capidrv_add_ack(struct capidrv_ncci *nccip, | |||
469 | { | 469 | { |
470 | struct ncci_datahandle_queue *n, **pp; | 470 | struct ncci_datahandle_queue *n, **pp; |
471 | 471 | ||
472 | n = (struct ncci_datahandle_queue *) | 472 | n = kmalloc(sizeof(struct ncci_datahandle_queue), GFP_ATOMIC); |
473 | kmalloc(sizeof(struct ncci_datahandle_queue), GFP_ATOMIC); | ||
474 | if (!n) { | 473 | if (!n) { |
475 | printk(KERN_ERR "capidrv: kmalloc ncci_datahandle failed\n"); | 474 | printk(KERN_ERR "capidrv: kmalloc ncci_datahandle failed\n"); |
476 | return -1; | 475 | return -1; |