mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
scst: Remove an empty function
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8908 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user