Skip to contentSkip to conversation

r852: remove casts from void*

PATCH Applied Kulikov Vasiliy 1 participant 1 message Jun 29, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 7/25 r852: remove casts from void*

Remove unnesessary casts from void*.

---
 drivers/mtd/nand/r852.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/r852.c +1 -1
index c0a9835..43f0366 100644
@@ -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)
 {
-	struct r852_device *dev = (struct r852_device *)chip->priv;
+	struct r852_device *dev = chip->priv;
 
 	unsigned long timeout;
 	int status;
Signature · 1 line
1.7.0.4