diff options
author | Eran Ben Elisha <[email protected]> | 2017-01-17 19:19:18 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-01-18 14:58:23 -0500 |
commit | e91ef71dfe834e11b57411f1715cd2e2bb4401f1 (patch) | |
tree | 410990b9cd3d23e6faf1f9f8fdc0f1b0fcbc8e42 /drivers/net/xen-netback/interface.c | |
parent | 31a86d137219373c3222ca5f4f912e9a4d8065bb (diff) |
net/mlx4_en: Remove unnecessary checks when setting num channels
Boundaries checks for the number of RX, TX, other and combined channels
should be checked by the caller and not in the driver.
In addition, remove wrong memset on get channels as it overrides the cmd
field in the requester struct.
Signed-off-by: Eran Ben Elisha <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions