Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: sm_common: remove casts from void

Remove unnesessary casts from void*.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Kulikov Vasiliy and committed by
David Woodhouse
ece0ac98 029919c1

+1 -1
+1 -1
drivers/mtd/nand/sm_common.c
··· 109 109 110 110 int sm_register_device(struct mtd_info *mtd, int smartmedia) 111 111 { 112 - struct nand_chip *chip = (struct nand_chip *)mtd->priv; 112 + struct nand_chip *chip = mtd->priv; 113 113 int ret; 114 114 115 115 chip->options |= NAND_SKIP_BBTSCAN;