Skip to contentSkip to conversation

target/iscsi: Define OFFLOAD_BUF_SIZE once

PATCH Hannes Reinecke 1 participant 1 message Nov 2, 2017 SCSI target

lore
Share & tools
lore

Hannes Reinecke

author Reviewed-by
#0 lore raw
Quoted 20 lines · Bart Van Assche

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 -0
index e446a09c886b..f65e5e584212 100644

drivers/target/iscsi/iscsi_target_seq_pdu_list.c line 30

Quoted 8 lines
drivers/target/iscsi/iscsi_target_seq_pdu_list.c +0 -2
@@ -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)
 {

Cheers,

Hannes

Signature · 5 lines
Dr. Hannes Reinecke		               zSeries & Storage
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)