staging/rdma/hfi1: hfi1_ioctl remove setlink state
authorIra Weiny <ira.weiny@intel.com>
Wed, 2 Dec 2015 05:43:35 +0000 (00:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:53:37 +0000 (13:53 -0800)
commitd8e499ffe4090ad1e53700a2d0f00599ac69727e
treebd922da43f96c3eb39bd005db185479998740fae
parent845e30e62b19e2db68d36828bf9c540a5e390efe
staging/rdma/hfi1: hfi1_ioctl remove setlink state

Set link state is not supported remove from the switch statement and allow the
default to return -ENOTTY

Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/diag.c