Skip to content

Commit

Permalink
mtd: rawnand: vf610: Remove unused function vf610_nfc_transfer_size()
Browse files Browse the repository at this point in the history
commit ecc40b8 ("mtd: rawnand: vf610_nfc: remove old hooks")
left behind this, remove it.

Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
  • Loading branch information
YueHaibing authored and miquelraynal committed Sep 30, 2020
1 parent 07eb014 commit f7721e4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/mtd/nand/raw/vf610_nfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f7721e4

Please sign in to comment.