Browse Source

mtd: r852: 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>
Kulikov Vasiliy 15 years ago
parent
commit
029919c1ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/nand/r852.c

+ 1 - 1
drivers/mtd/nand/r852.c

@@ -380,7 +380,7 @@ void r852_cmdctl(struct mtd_info *mtd, int dat, unsigned int ctrl)
  */
  */
 int r852_wait(struct mtd_info *mtd, struct nand_chip *chip)
 int r852_wait(struct mtd_info *mtd, struct nand_chip *chip)
 {
 {
-	struct r852_device *dev = (struct r852_device *)chip->priv;
+	struct r852_device *dev = chip->priv;
 
 
 	unsigned long timeout;
 	unsigned long timeout;
 	int status;
 	int status;