diff options
author | Jan Sokolowski <jan.sokolowski@intel.com> | 2017-11-06 15:38:45 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-11-13 21:53:57 +0100 |
commit | e4c397eed9c93fc1cb34f7d8df96afeb320d535d (patch) | |
tree | c5db7fa9606ebb771c59c476d6c5b0723993a8a8 /drivers/infiniband/hw/hfi1/init.c | |
parent | IB/hfi1: Fix a wrapping test to insure the correct timeout (diff) | |
download | linux-e4c397eed9c93fc1cb34f7d8df96afeb320d535d.tar.xz linux-e4c397eed9c93fc1cb34f7d8df96afeb320d535d.zip |
IB/hfi1: Remove unnecessary if check
A for loop condition of data_iovs in user_sdma_free_request
is unnecessarily repeated before the loop as an if check.
Remove the if enveloping the loop.
Reviewed-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/init.c')
0 files changed, 0 insertions, 0 deletions