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)
commit905726c1c5a3ca620ba7d73c78eddfb91de5ce28
treeb569b702c2a9dd0a9b941edf685147b1d16a47d9
parent96ac5cc9636318e7d92e72a3f1032456152a3a2f
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