summary refs log tree commit diff
path: root/fs/cifs/Kconfig
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2018-05-03 20:29:19 -0700
committerDoug Ledford <dledford@redhat.com>2018-05-09 08:51:03 -0400
commit9533b292a7acc62c294ebcbd9e1f9f9d52adb10b (patch)
tree0f0cc5b5c91c47f049a21c5c683f89787eeb5f39 /fs/cifs/Kconfig
parent9aa169213d1166d30ae357a44abbeae93459339d (diff)
downloadlinux-9533b292a7acc62c294ebcbd9e1f9f9d52adb10b.tar.gz
IB: remove redundant INFINIBAND kconfig dependencies
INFINIBAND_ADDR_TRANS depends on INFINIBAND.  So there's no need for
options which depend INFINIBAND_ADDR_TRANS to also depend on INFINIBAND.
Remove the unnecessary INFINIBAND depends.

Signed-off-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'fs/cifs/Kconfig')
-rw-r--r--fs/cifs/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index 5f132d59dfc2..d61e2de8d0eb 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -197,7 +197,7 @@ config CIFS_SMB311
 
 config CIFS_SMB_DIRECT
 	bool "SMB Direct support (Experimental)"
-	depends on CIFS=m && INFINIBAND && INFINIBAND_ADDR_TRANS || CIFS=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
+	depends on CIFS=m && INFINIBAND_ADDR_TRANS || CIFS=y && INFINIBAND_ADDR_TRANS=y
 	help
 	  Enables SMB Direct experimental support for SMB 3.0, 3.02 and 3.1.1.
 	  SMB Direct allows transferring SMB packets over RDMA. If unsure,