IB/hfi1: Clean up user_sdma_send_pkts() function
authorHarish Chegondi <harish.chegondi@intel.com>
Tue, 22 Aug 2017 01:26:57 +0000 (18:26 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 28 Aug 2017 23:12:19 +0000 (19:12 -0400)
commit624b9ac15c3cf0896721e76f4e23ab0d25148119
treefe5b294bf30db93bce986329a4bb642f4c1798d2
parent9dc117095570e7a230f8f9229a70713c335d9e2a
IB/hfi1: Clean up user_sdma_send_pkts() function

user_sdma_send_pkts() function is unnecessarily long. Clean it up by
moving some of its code into separate functions.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/user_sdma.c