]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mtd: nand: remove unused macro
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 22 Aug 2013 14:22:00 +0000 (16:22 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 22 Aug 2013 14:22:00 +0000 (16:22 +0200)
drivers/mtd/nand/nand_base.c

index 9e05cef4179f3ddfc10e26f7e116f32c399364e2..8cbd86adbc8b82de4d9aa23f07702a4b4d2e53fb 100644 (file)
@@ -1930,8 +1930,6 @@ static uint8_t *nand_fill_oob(struct mtd_info *mtd, uint8_t *oob, size_t len,
        return NULL;
 }
 
-#define NOTALIGNED(x)  ((x & (chip->subpagesize - 1)) != 0)
-
 /**
  * nand_do_write_ops - [INTERN] NAND write with ECC
  * @mtd: MTD device structure