]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wan/pc300_tty.c
e1000: 3 new driver stats for managability testing
[linux-2.6-omap-h63xx.git] / drivers / net / wan / pc300_tty.c
index b2a23aed4428576b5dc55adfc60db4588f6e001f..5873c346e7e9ee25ee53f3679982407c6b99d0eb 100644 (file)
@@ -784,7 +784,7 @@ void cpc_tty_receive(pc300dev_t *pc300dev)
                        continue;
                } 
                
-               new = (st_cpc_rx_buf *)kmalloc(rx_len + sizeof(st_cpc_rx_buf), GFP_ATOMIC);
+               new = kmalloc(rx_len + sizeof(st_cpc_rx_buf), GFP_ATOMIC);
                if (new == 0) {
                        cpc_tty_rx_disc_frame(pc300chan);
                        continue;