diff options
author | Jan Sokolowski <jan.sokolowski@intel.com> | 2017-11-06 06:38:45 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-11-13 15:53:57 -0500 |
commit | e4c397eed9c93fc1cb34f7d8df96afeb320d535d (patch) | |
tree | c5db7fa9606ebb771c59c476d6c5b0723993a8a8 /drivers/hwmon | |
parent | d61ea0751aa097182291c7ceed447bc73e020109 (diff) | |
download | linux-e4c397eed9c93fc1cb34f7d8df96afeb320d535d.tar.bz2 |
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/hwmon')
0 files changed, 0 insertions, 0 deletions