From: Kulikov Vasiliy Date: Tue, 29 Jun 2010 10:15:24 +0000 (+0400) Subject: mtd: sm_common: remove casts from void X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ece0ac98a13a555e6d46a02225fa15934abe7a3d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mtd: sm_common: remove casts from void Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/sm_common.c b/drivers/mtd/nand/sm_common.c index ac80fb362e63..4a8f367c295c 100644 --- a/drivers/mtd/nand/sm_common.c +++ b/drivers/mtd/nand/sm_common.c @@ -109,7 +109,7 @@ static struct nand_flash_dev nand_xd_flash_ids[] = { int sm_register_device(struct mtd_info *mtd, int smartmedia) { - struct nand_chip *chip = (struct nand_chip *)mtd->priv; + struct nand_chip *chip = mtd->priv; int ret; chip->options |= NAND_SKIP_BBTSCAN;