]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: goldfish: remove useless space after a cast
authorLoic Pefferkorn <loic@loicp.eu>
Wed, 3 Sep 2014 20:23:11 +0000 (22:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Sep 2014 04:51:09 +0000 (21:51 -0700)
Coding style: remove useless space after a cast

Signed-off-by: Loic Pefferkorn <loic@loicp.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/goldfish/goldfish_nand.c

index 092604c698b63800046b8453dda5278b61ad52af..aac8e2016a9fc250b0f9ce4e506896b2e42ec678 100644 (file)
@@ -340,7 +340,7 @@ static int goldfish_nand_init_device(struct platform_device *pdev,
                               result, name_len);
                return -ENODEV;
        }
-       ((char *) mtd->name)[name_len] = '\0';
+       ((char *)mtd->name)[name_len] = '\0';
 
        /* Setup the MTD structure */
        mtd->type = MTD_NANDFLASH;