diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2020-10-12 15:53:26 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-05 11:44:48 -0800 |
commit | 12aae8f1d87906547d7756765bf9fc18f268fad1 (patch) | |
tree | 300dfe469ce6bce5e3ed0418eb91ff5139d16022 /net/batman-adv/distributed-arp-table.c | |
parent | 11404310d58d821714a19bcf2bf69e5c80d4d34c (diff) |
ice: remove dead code
The check for a NULL pf pointer is moot since the earlier declaration and
assignment of struct device *dev already de-referenced the pointer. Also,
the only caller of ice_set_dflt_mib() already ensures pf is not NULL.
Cc: Dave Ertman <david.m.ertman@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/batman-adv/distributed-arp-table.c')
0 files changed, 0 insertions, 0 deletions