From 57d9df07178a33c29672872c439624c05e45cd1a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 13 May 2020 20:52:23 +0000 Subject: [PATCH] scst: Remove an empty function git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8908 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst.h | 6 ------ scst/src/dev_handlers/scst_vdisk.c | 1 - 2 files changed, 7 deletions(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index 9dafd7bd8..8bbe8093b 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -5093,12 +5093,6 @@ static inline int scst_get_sg_page_next(struct scst_cmd *cmd, return __scst_get_sg_page(cmd, cmd->sg_cnt, page, offset); } -static inline void scst_put_sg_page(struct scst_cmd *cmd, - struct page *page, int offset) -{ - /* Nothing to do */ -} - static inline int scst_get_out_sg_page_first(struct scst_cmd *cmd, struct page **page, int *offset) { diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 84f08d2f9..31a3b3062 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -6230,7 +6230,6 @@ static void blockio_exec_rw(struct vdisk_cmd_params *p, bool write, bool fua) lba_start += length >> block_shift; - scst_put_sg_page(cmd, page, offset); length = scst_get_sg_page_next(cmd, &page, &offset); }