]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rdma/hfi1: Unconditionally clean-up SDMA queues
authorMitko Haralanov <mitko.haralanov@intel.com>
Tue, 8 Dec 2015 22:10:10 +0000 (17:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:57:55 +0000 (13:57 -0800)
commita9794902129326b409f56ad243ba5a7536f43f40
tree0a2b2bc41e964c58c52752d6d3b21419fda2474d
parent19706a6b24c0d8fb2865fe323b0b73a4e9e7af24
staging/rdma/hfi1: Unconditionally clean-up SDMA queues

There is no need to cleck if the packet queue is allocated
when cleaning up a user context. The hfi1_user_sdma_free_queues()
function already does all the required checks.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/file_ops.c