Commit d1434cf5 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

net: neterion: vxge: remove redundant continue statement

The continue statement at the end of a for-loop has no effect,
invert the if expression and remove the continue.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 275b51c2
...@@ -3678,10 +3678,9 @@ static int vxge_config_vpaths(struct vxge_hw_device_config *device_config, ...@@ -3678,10 +3678,9 @@ static int vxge_config_vpaths(struct vxge_hw_device_config *device_config,
driver_config->vpath_per_dev = 1; driver_config->vpath_per_dev = 1;
for (i = 0; i < VXGE_HW_MAX_VIRTUAL_PATHS; i++) for (i = 0; i < VXGE_HW_MAX_VIRTUAL_PATHS; i++)
if (!vxge_bVALn(vpath_mask, i, 1)) if (vxge_bVALn(vpath_mask, i, 1))
continue;
else
default_no_vpath++; default_no_vpath++;
if (default_no_vpath < driver_config->vpath_per_dev) if (default_no_vpath < driver_config->vpath_per_dev)
driver_config->vpath_per_dev = default_no_vpath; driver_config->vpath_per_dev = default_no_vpath;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment