]> git.karo-electronics.de Git - linux-beck.git/commitdiff
lightnvm: cleanup unused target operations
authorJavier González <jg@lightnvm.io>
Mon, 28 Nov 2016 21:39:00 +0000 (22:39 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 19:12:51 +0000 (12:12 -0700)
Cleanup definition leftovers from old gennvm interface

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/lightnvm.h

index 6b26a3289bced73f5480afb8ab844ffe1ca214c1..e598308882aa51808cad1cee4e859ba57050149c 100644 (file)
@@ -477,9 +477,6 @@ typedef int (nvmm_remove_tgt_fn)(struct nvm_dev *, struct nvm_ioctl_remove *);
 typedef struct nvm_block *(nvmm_get_blk_fn)(struct nvm_dev *,
                                              struct nvm_lun *, unsigned long);
 typedef void (nvmm_put_blk_fn)(struct nvm_dev *, struct nvm_block *);
-typedef int (nvmm_open_blk_fn)(struct nvm_dev *, struct nvm_block *);
-typedef int (nvmm_close_blk_fn)(struct nvm_dev *, struct nvm_block *);
-typedef void (nvmm_flush_blk_fn)(struct nvm_dev *, struct nvm_block *);
 typedef int (nvmm_submit_io_fn)(struct nvm_dev *, struct nvm_rq *);
 typedef int (nvmm_erase_blk_fn)(struct nvm_dev *, struct nvm_block *, int);
 typedef void (nvmm_mark_blk_fn)(struct nvm_dev *, struct ppa_addr, int);
@@ -504,9 +501,6 @@ struct nvmm_type {
        /* Block administration callbacks */
        nvmm_get_blk_fn *get_blk;
        nvmm_put_blk_fn *put_blk;
-       nvmm_open_blk_fn *open_blk;
-       nvmm_close_blk_fn *close_blk;
-       nvmm_flush_blk_fn *flush_blk;
 
        nvmm_submit_io_fn *submit_io;
        nvmm_erase_blk_fn *erase_blk;