]> git.baikalelectronics.ru Git - kernel.git/commitdiff
lightnvm: pblk: remove dead function
authorJavier González <javier@javigon.com>
Fri, 1 Jun 2018 13:04:25 +0000 (15:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jun 2018 13:43:53 +0000 (07:43 -0600)
Remove dead function for manual sync. I/O

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk.h

index 6e6a65b278b9d7c890788127d9dbd9ad4fa6a2fa..56e3934712f9218a35c200509d711493b9d33fa4 100644 (file)
@@ -342,13 +342,6 @@ void pblk_write_should_kick(struct pblk *pblk)
                pblk_write_kick(pblk);
 }
 
-void pblk_end_io_sync(struct nvm_rq *rqd)
-{
-       struct completion *waiting = rqd->private;
-
-       complete(waiting);
-}
-
 static void pblk_wait_for_meta(struct pblk *pblk)
 {
        do {
index 2399db1b479addcb61bceb3c1c064894d3d924e8..9f22bbb54a6dc79b5fa5a939470aa377a0711fab 100644 (file)
@@ -796,7 +796,6 @@ void pblk_down_rq(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas,
 void pblk_down_page(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas);
 void pblk_up_rq(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas,
                unsigned long *lun_bitmap);
-void pblk_end_io_sync(struct nvm_rq *rqd);
 int pblk_bio_add_pages(struct pblk *pblk, struct bio *bio, gfp_t flags,
                       int nr_pages);
 void pblk_bio_free_pages(struct pblk *pblk, struct bio *bio, int off,