]> 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)
commit18bd02e730bc1192b8946fdb929b0adc82fb6efd
treeb569b702c2a9dd0a9b941edf685147b1d16a47d9
parent8b676d8aa8f19448ef501324aa2334f9d920f42c
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