diff --git a/scst/include/scst.h b/scst/include/scst.h index 0e6e45278..ac98521f0 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -3521,7 +3521,6 @@ static inline int scst_get_sg_page_first(struct scst_cmd *cmd, } cmd->get_sg_buf_entry_num = 0; cmd->get_sg_buf_cur_sg_entry = cmd->sg; - cmd->may_need_dma_sync = 1; return __scst_get_sg_page(cmd, cmd->sg_cnt, page, offset); } @@ -3547,7 +3546,6 @@ static inline int scst_get_out_sg_page_first(struct scst_cmd *cmd, } cmd->get_sg_buf_entry_num = 0; cmd->get_sg_buf_cur_sg_entry = cmd->out_sg; - cmd->may_need_dma_sync = 1; return __scst_get_sg_page(cmd, cmd->out_sg_cnt, page, offset); }