]> err.no Git - linux-2.6/blobdiff - drivers/macintosh/adb.c
[ARM] 4142/1: ep93xx: handle IRQT_NOEDGE
[linux-2.6] / drivers / macintosh / adb.c
index d43ea81d6df9bcae26441a61edba92349d5308a1..7cec6de5e2b0704b1a74cfa0d4851d7dda72f983 100644 (file)
@@ -828,7 +828,7 @@ static ssize_t adb_write(struct file *file, const char __user *buf,
        if (!access_ok(VERIFY_READ, buf, count))
                return -EFAULT;
 
-       req = (struct adb_request *) kmalloc(sizeof(struct adb_request),
+       req = kmalloc(sizeof(struct adb_request),
                                             GFP_KERNEL);
        if (req == NULL)
                return -ENOMEM;