diff options
author | Matias Bjørling <matias@cnexlabs.com> | 2017-01-31 15:17:10 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-31 18:32:13 +0300 |
commit | 10995c3dc9d7f47b92ff3e74b4bd191ddb7991ff (patch) | |
tree | 8e2f54e1d53cafa64e6c52ce283ddc402a90b6d1 /include/linux/lightnvm.h | |
parent | ade69e2432b795c76653e1dfa09c684549826a50 (diff) | |
download | linux-10995c3dc9d7f47b92ff3e74b4bd191ddb7991ff.tar.xz |
lightnvm: collapse nvm_erase_ppa and nvm_erase_blk
After gennvm and core have been merged, there are no more callers to
nvm_erase_ppa. Therefore collapse the device specific and target
specific erase functions.
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/lightnvm.h')
-rw-r--r-- | include/linux/lightnvm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index 84309fe27472..f2007b2c4979 100644 --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -483,7 +483,6 @@ extern void nvm_addr_to_generic_mode(struct nvm_dev *, struct nvm_rq *); extern int nvm_set_rqd_ppalist(struct nvm_dev *, struct nvm_rq *, const struct ppa_addr *, int, int); extern void nvm_free_rqd_ppalist(struct nvm_dev *, struct nvm_rq *); -extern int nvm_erase_ppa(struct nvm_dev *, struct ppa_addr *, int, int); extern int nvm_erase_blk(struct nvm_tgt_dev *, struct ppa_addr *, int); extern int nvm_get_l2p_tbl(struct nvm_tgt_dev *, u64, u32, nvm_l2p_update_fn *, void *); |