]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/rio/riocmd.c
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds
[linux-2.6-omap-h63xx.git] / drivers / char / rio / riocmd.c
index 167ebc84e8d7361d35577ce59d4a74379437c0c4..245f03195b7c6da9ce7f664e974664617b4baf33 100644 (file)
@@ -556,7 +556,7 @@ struct CmdBlk *RIOGetCmdBlk(void)
 {
        struct CmdBlk *CmdBlkP;
 
-       CmdBlkP = (struct CmdBlk *)kmalloc(sizeof(struct CmdBlk), GFP_ATOMIC);
+       CmdBlkP = kmalloc(sizeof(struct CmdBlk), GFP_ATOMIC);
        if (CmdBlkP)
                memset(CmdBlkP, 0, sizeof(struct CmdBlk));
        return CmdBlkP;