Skip to contentSkip to conversation

target/iscsi: Define OFFLOAD_BUF_SIZE once

PATCH Applied Bart Van Assche 1 participant 1 message Oct 31, 2017 SCSI target

lore
Share & tools
lore
#0 lore raw

PATCH 5/11 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.

Cc Nicholas Bellinger <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Hannes Reinecke <[email protected]>
Cc Mike Christie <[email protected]>
---
 drivers/target/iscsi/iscsi_target_seq_pdu_list.c | 2 --
 1 file changed, 2 deletions(-)
drivers/target/iscsi/iscsi_target_seq_pdu_list.c +0 -2
index e446a09c886b..f65e5e584212 100644
@@ -25,8 +25,6 @@
 #include "iscsi_target_tpg.h"
 #include "iscsi_target_seq_pdu_list.h"
 
-#define OFFLOAD_BUF_SIZE	32768
-
 #ifdef DEBUG
 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd)
 {
Signature · 1 line
2.14.2