diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-09 21:43:18 +0800 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-09-30 16:44:17 +0200 |
commit | f7721e4bfec16c9e95e26f4b66bc4574076822d9 (patch) | |
tree | a4d51f3dceb3d949a73b56a87f5d679df2e20c2b /drivers/mtd/nand | |
parent | 07eb014faadd2e370032bc88ddbf3bf29e87411f (diff) | |
download | linux-stable-f7721e4bfec16c9e95e26f4b66bc4574076822d9.tar.gz linux-stable-f7721e4bfec16c9e95e26f4b66bc4574076822d9.tar.bz2 linux-stable-f7721e4bfec16c9e95e26f4b66bc4574076822d9.zip |
mtd: rawnand: vf610: Remove unused function vf610_nfc_transfer_size()
commit ecc40b8df59a ("mtd: rawnand: vf610_nfc: remove old hooks")
left behind this, remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200909134318.36340-1-yuehaibing@huawei.com
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/raw/vf610_nfc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/nand/raw/vf610_nfc.c b/drivers/mtd/nand/raw/vf610_nfc.c index 3c4090bd3f28..40d70f991d89 100644 --- a/drivers/mtd/nand/raw/vf610_nfc.c +++ b/drivers/mtd/nand/raw/vf610_nfc.c @@ -323,11 +323,6 @@ static inline void vf610_nfc_ecc_mode(struct vf610_nfc *nfc, int ecc_mode) CONFIG_ECC_MODE_SHIFT, ecc_mode); } -static inline void vf610_nfc_transfer_size(struct vf610_nfc *nfc, int size) -{ - vf610_nfc_write(nfc, NFC_SECTOR_SIZE, size); -} - static inline void vf610_nfc_run(struct vf610_nfc *nfc, u32 col, u32 row, u32 cmd1, u32 cmd2, u32 trfr_sz) { |