[MTD] remove unnecessary casts from drivers/mtd/maps/nettel.c and kill two warnings
I took a look at the cause for these warnings in the 2.6.10 kernel, drivers/mtd/maps/nettel.c:361: warning: assignment makes pointer from integer without a cast drivers/mtd/maps/nettel.c:395: warning: assignment makes pointer from integer without a cast and as far as I can see the casts in there (to unsigned long and back to void*) are completely unnessesary ('virt' in 'struct map_info' is a void __iomem *), and getting rid of those casts buys us a warning free build. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Showing
Please register or sign in to comment