diff options
author | Michael Chan <mchan@broadcom.com> | 2015-12-27 18:19:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-28 00:57:28 -0500 |
commit | 45019a180358c3cf290c3f3dc953c44f978d5527 (patch) | |
tree | 6fe75b32b4175467b2472330aed1ce492d47bb32 /drivers/char | |
parent | 665e350ddbfde88c5c18142dfd7b8c64556bc964 (diff) |
bnxt_en: Allocate rx_cpu_rmap only if Accelerated RFS is enabled.
Also, no need to check for bp->rx_nr_rings as it is always >= 1. If the
allocation fails, it is not a fatal error and we can still proceed.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions