diff options
author | Michael Chan <mchan@broadcom.com> | 2015-12-27 23:19:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-28 05:57:28 (GMT) |
commit | 45019a180358c3cf290c3f3dc953c44f978d5527 (patch) | |
tree | 6fe75b32b4175467b2472330aed1ce492d47bb32 /drivers/hwmon | |
parent | 665e350ddbfde88c5c18142dfd7b8c64556bc964 (diff) | |
download | linux-45019a180358c3cf290c3f3dc953c44f978d5527.tar.xz |
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/hwmon')
0 files changed, 0 insertions, 0 deletions