* [PATCH] [SCSI] mptfusion: remove check for CONFIG_FUSION_MAX_FC_SGE
@ 2014-05-22 19:58 Paul Bolle
2014-05-22 20:05 ` Paul Bolle
0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2014-05-22 19:58 UTC (permalink / raw)
To: Nagalakshmi Nandigama, Sreekanth Reddy, support
Cc: DL-MPTFusionLinux, linux-scsi, linux-kernel
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.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Compile tested only.
drivers/message/fusion/mptbase.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index 76c05bc24cb7..43695ec7ac83 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -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
--
1.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-22 20:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-22 19:58 [PATCH] [SCSI] mptfusion: remove check for CONFIG_FUSION_MAX_FC_SGE Paul Bolle
2014-05-22 20:05 ` Paul Bolle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).