]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/usb/serial/cypress_m8.c
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6.git] / drivers / usb / serial / cypress_m8.c
index a1fdb85b8c0ae91225c447f5cb79b6c19792e991..45cdf9bc43b2bd01ae9daa5bb10f8949386a1cce 100644 (file)
@@ -1493,7 +1493,7 @@ static struct cypress_buf *cypress_buf_alloc(unsigned int size)
        if (size == 0)
                return NULL;
 
-       cb = (struct cypress_buf *)kmalloc(sizeof(struct cypress_buf), GFP_KERNEL);
+       cb = kmalloc(sizeof(struct cypress_buf), GFP_KERNEL);
        if (cb == NULL)
                return NULL;