From ec9a0ffa494c7f9c6dbffea7f073ec72a77f1cdb Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Mon, 10 Aug 2015 14:51:23 -0700 Subject: [PATCH] staging: mt29f_spinand: Remove unnecessary externs Using 'extern' is not necessary for function prototypes. Signed-off-by: Joe Perches Signed-off-by: Greg Kroah-Hartman --- drivers/staging/mt29f_spinand/mt29f_spinand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.h b/drivers/staging/mt29f_spinand/mt29f_spinand.h index 7f2c24dc51b4..6c8e413b5b63 100644 --- a/drivers/staging/mt29f_spinand/mt29f_spinand.h +++ b/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 */ -- 2.20.1