Remove unneeded casts of (void *) pointers.

Signed-off-by: Domen Puncer <domen@coderock.org>

--- c/drivers/mtd/devices/doc1000.c	2004-02-04 04:44:04.000000000 +0100
+++ a/drivers/mtd/devices/doc1000.c	2004-12-03 15:14:32.000000000 +0100
@@ -207,7 +207,7 @@ int flashcard_read (struct mtd_info *mtd
 
 int flashcard_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf)
 {
-	struct mypriv *priv = (struct mypriv *)mtd->priv;
+	struct mypriv *priv = mtd->priv;
  	u_char *endaddr, *startaddr;
 	register u_char *pageaddr;
 	u_char device = to >> priv->devshift;
@@ -529,7 +529,7 @@ int __init init_doc1000(void)
 
 	memset(mymtd,0,sizeof(struct mtd_info));
 
-	mymtd->priv = (void *) kmalloc (sizeof(struct mypriv), GFP_KERNEL);
+	mymtd->priv = kmalloc (sizeof(struct mypriv), GFP_KERNEL);
 	if (!mymtd->priv)
 	  {
 	    kfree(mymtd);
