diff options
author | WANG Cong | 2014-06-04 02:11:54 +0200 |
---|---|---|
committer | David S. Miller | 2014-06-04 04:18:58 +0200 |
commit | 92ff71b8fe9cd9c673615fc6f3870af7376d7c84 (patch) | |
tree | f2529e59bccc3be83b4f1948124efcf81315ec5a /drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c | |
parent | hyper-v: make uuid_le const (diff) | |
download | kernel-qcow2-linux-92ff71b8fe9cd9c673615fc6f3870af7376d7c84.tar.gz kernel-qcow2-linux-92ff71b8fe9cd9c673615fc6f3870af7376d7c84.tar.xz kernel-qcow2-linux-92ff71b8fe9cd9c673615fc6f3870af7376d7c84.zip |
net: remove some unless free on failure in alloc_netdev_mqs()
When we jump to free_pcpu on failure in alloc_netdev_mqs()
rx and tx queues are not yet allocated, so no need to free them.
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c')
0 files changed, 0 insertions, 0 deletions