IB/hfi1: Refactor hfi_user_exp_rcv_clear() IOCTLs
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Tue, 26 Sep 2017 14:04:22 +0000 (07:04 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 15:08:06 +0000 (11:08 -0400)
commit3920eef7a7e0cd90364944e6b3b9be3f9e73e4cc
tree2e28fc5ac350e2aa0c6783cb9257d7f9ffca338d
parentf404ca4c7ea8e650ba09ba87c71c7a89c865d5be
IB/hfi1: Refactor hfi_user_exp_rcv_clear() IOCTLs

The IOCTL is a bit unwieldy.  Refactor to a common pattern.
Refactor the _TID_FREE IOCTL.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/file_ops.c