]> asedeno.scripts.mit.edu Git - linux.git/commit
ice: Remove redundant and premature event config
authorDave Ertman <david.m.ertman@intel.com>
Tue, 16 Apr 2019 17:30:47 +0000 (10:30 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 May 2019 09:53:57 +0000 (02:53 -0700)
commit91aed40da3d5ac94ea7a41cb9e2440d1c1b068c9
treeacb47aad52fd7c937256f3617a281731756fecf6
parent4cc82aaa74f425aeab826f35bd27d5faaae6522e
ice: Remove redundant and premature event config

In the path for re-enabling FW LLDP engine, there is
a call to register for LLDP MIB change events.  This
call is redundant, in that the call to ice_pf_dcb_cfg
will already register the driver for these events.  Also,
the call as it stands now is too early in the flow before
before DCB is configured.

Remove the redundant call.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c