Skip to contentSkip to conversation

mptfusion: remove check for CONFIG_FUSION_MAX_FC_SGE

PATCH In review Paul Bolle 1 participant 2 messages May 22, 2014

Subsystems (2)
lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 mptfusion: remove check for CONFIG_FUSION_MAX_FC_SGE

A check for CONFIG_FUSION_MAX_FC_SGE was added in v2.6.31. But the related Kconfig symbol was never added to the tree. Remove this check, as it always evaluates to false.

---
Compile tested only.

 drivers/message/fusion/mptbase.h | 10 ----------
 1 file changed, 10 deletions(-)
drivers/message/fusion/mptbase.h +0 -10
index 76c05bc24cb7..43695ec7ac83 100644
@@ -177,17 +177,7 @@
 #define MPT_SCSI_SG_DEPTH	40
 #endif
 
-#ifdef CONFIG_FUSION_MAX_FC_SGE
-#if CONFIG_FUSION_MAX_FC_SGE  < 16
-#define MPT_SCSI_FC_SG_DEPTH	16
-#elif CONFIG_FUSION_MAX_FC_SGE  > 256
-#define MPT_SCSI_FC_SG_DEPTH	256
-#else
-#define MPT_SCSI_FC_SG_DEPTH	CONFIG_FUSION_MAX_FC_SGE
-#endif
-#else
 #define MPT_SCSI_FC_SG_DEPTH	40
-#endif
 
 /* debug print string length used for events and iocstatus */
 # define EVENT_DESCR_STR_SZ             100
Signature · 1 line
1.9.0
author
#1 lore raw
Quoted 4 lines · Address Change LSI

The person you are trying to email is no longer receiving email @lsi.com. Please try sending to them at Avago Technologies using [email protected].

Please Note: Your original message has been forwarded to this recipient’s new Avago email account.

It seems lsi.com addresses in MAINTAINERS should be be updated.

Paul Bolle