IB/usnic: Use for_each_sg instead of a for-loop
authorUpinder Malhi <umalhi@cisco.com>
Thu, 9 Jan 2014 22:48:45 +0000 (14:48 -0800)
committerRoland Dreier <roland@purestorage.com>
Tue, 14 Jan 2014 08:44:46 +0000 (00:44 -0800)
commitc5f855e08a97edc107c4a3b73809ed629c1dcac1
treeead6f88f161884d02fc73070e6bee0b85b8042a2
parent6a54d9f9a04ed35e6615a47974c1ef02ff3a62cb
IB/usnic: Use for_each_sg instead of a for-loop

Use for_each_sg() instead of an explicit for-loop to iterate over
scatter-gather list.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/usnic/usnic_uiom.c