Merge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6
[powerpc.git] / drivers / macintosh / adb.c
index d43ea81..7cec6de 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;