Explorar o código

staging: mt29f_spinand: Remove unnecessary externs

Using 'extern' is not necessary for function prototypes.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Joe Perches %!s(int64=10) %!d(string=hai) anos
pai
achega
ec9a0ffa49
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      drivers/staging/mt29f_spinand/mt29f_spinand.h

+ 2 - 2
drivers/staging/mt29f_spinand/mt29f_spinand.h

@@ -101,7 +101,7 @@ struct spinand_cmd {
 	u8		*rx_buf;	/* Rx buf */
 };
 
-extern int spinand_mtd(struct mtd_info *mtd);
-extern void spinand_mtd_release(struct mtd_info *mtd);
+int spinand_mtd(struct mtd_info *mtd);
+void spinand_mtd_release(struct mtd_info *mtd);
 
 #endif /* __LINUX_MTD_SPI_NAND_H */