]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/ethernet/broadcom/bnxt/bnxt.c
bnxt_en: Fix TC queue mapping.
[mirror_ubuntu-bionic-kernel.git] / drivers / net / ethernet / broadcom / bnxt / bnxt.c
index 08c38f165f540296bc896f2a80adbbcc6c494690..aa822afb6f2c2efec6207832c18592c3c222e4cb 100644 (file)
@@ -5373,7 +5373,7 @@ static void bnxt_setup_msix(struct bnxt *bp)
        int tcs, i;
 
        tcs = netdev_get_num_tc(dev);
-       if (tcs > 1) {
+       if (tcs) {
                int i, off, count;
 
                for (i = 0; i < tcs; i++) {