提交 8d973ab5 编写于 作者: B Bart Van Assche 提交者: Nicholas Bellinger

target/iscsi: Define OFFLOAD_BUF_SIZE once

The constant OFFLOAD_BUF_SIZE is defined twice - once in
iscsi_target_seq_pdu_list.c and once in iscsi_target_erl1.c. Since
that constant is not used in the former source file, remove its
definition from that source file.
Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Mike Christie <mchristi@redhat.com>
Reviewed-by: NHannes Reinecke <hare@suse.com>
Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
上级 c0170698
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
#include "iscsi_target_tpg.h" #include "iscsi_target_tpg.h"
#include "iscsi_target_seq_pdu_list.h" #include "iscsi_target_seq_pdu_list.h"
#define OFFLOAD_BUF_SIZE 32768
#ifdef DEBUG #ifdef DEBUG
static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) static void iscsit_dump_seq_list(struct iscsi_cmd *cmd)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册