]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/net/irda/irda-usb.c
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[mv-sheeva.git] / drivers / net / irda / irda-usb.c
index 6e95645e72459b7aee4d06c39a532026f6565662..3ca1082ec7764b9b831e51c55745c2f43ef7b37c 100644 (file)
@@ -1747,7 +1747,7 @@ static int irda_usb_probe(struct usb_interface *intf,
        /* Don't change this buffer size and allocation without doing
         * some heavy and complete testing. Don't ask why :-(
         * Jean II */
-       self->speed_buff = (char *) kmalloc(IRDA_USB_SPEED_MTU, GFP_KERNEL);
+       self->speed_buff = kmalloc(IRDA_USB_SPEED_MTU, GFP_KERNEL);
        if (self->speed_buff == NULL) 
                goto err_out_3;