]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netfront: Remove the meaningless code
authorLi, Liang Z <liang.z.li@intel.com>
Fri, 26 Jun 2015 23:17:26 +0000 (07:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Jun 2015 23:49:14 +0000 (16:49 -0700)
commitc0875580514f14e9c987a862458ecbf6df3ab1fa
treeb569b702c2a9dd0a9b941edf685147b1d16a47d9
parent7092a3d879850c2aca02cf5b668921b6be2ccaab
xen-netfront: Remove the meaningless code

The function netif_set_real_num_tx_queues() will return -EINVAL if
the second parameter < 1, so call this function with the second
parameter set to 0 is meaningless.

Signed-off-by: Liang Li <liang.z.li@intel.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c