diff options
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/kingsun-sir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/irda/kingsun-sir.c b/drivers/net/irda/kingsun-sir.c index bdd5c979bead..4e5101a45c3c 100644 --- a/drivers/net/irda/kingsun-sir.c +++ b/drivers/net/irda/kingsun-sir.c | |||
@@ -509,12 +509,12 @@ static int kingsun_probe(struct usb_interface *intf, | |||
509 | spin_lock_init(&kingsun->lock); | 509 | spin_lock_init(&kingsun->lock); |
510 | 510 | ||
511 | /* Allocate input buffer */ | 511 | /* Allocate input buffer */ |
512 | kingsun->in_buf = (__u8 *)kmalloc(kingsun->max_rx, GFP_KERNEL); | 512 | kingsun->in_buf = kmalloc(kingsun->max_rx, GFP_KERNEL); |
513 | if (!kingsun->in_buf) | 513 | if (!kingsun->in_buf) |
514 | goto free_mem; | 514 | goto free_mem; |
515 | 515 | ||
516 | /* Allocate output buffer */ | 516 | /* Allocate output buffer */ |
517 | kingsun->out_buf = (__u8 *)kmalloc(KINGSUN_FIFO_SIZE, GFP_KERNEL); | 517 | kingsun->out_buf = kmalloc(KINGSUN_FIFO_SIZE, GFP_KERNEL); |
518 | if (!kingsun->out_buf) | 518 | if (!kingsun->out_buf) |
519 | goto free_mem; | 519 | goto free_mem; |
520 | 520 | ||