Message ID | 1490090645-8576-13-git-send-email-thomas.petazzoni@free-electrons.com |
---|---|
State | Accepted |
Commit | 77cc88d2b9848bac16c32c01eebf45f060f81f45 |
Delegated to: | Boris Brezillon |
Headers | show |
On Tue, Mar 21, 2017 at 11:04 AM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > These definitions are not used anywhere in the driver, so remove them. > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c index 296222f..c50c3ed5 100644 --- a/drivers/mtd/nand/fsmc_nand.c +++ b/drivers/mtd/nand/fsmc_nand.c @@ -38,15 +38,6 @@ #include <linux/amba/bus.h> #include <mtd/mtd-abi.h> -#define FSMC_NAND_BW8 1 -#define FSMC_NAND_BW16 2 - -#define FSMC_MAX_NOR_BANKS 4 -#define FSMC_MAX_NAND_BANKS 4 - -#define FSMC_FLASH_WIDTH8 1 -#define FSMC_FLASH_WIDTH16 2 - /* fsmc controller registers for NOR flash */ #define CTRL 0x0 /* ctrl register definitions */
These definitions are not used anywhere in the driver, so remove them. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- drivers/mtd/nand/fsmc_nand.c | 9 --------- 1 file changed, 9 deletions(-)