]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove unreachable code from igc_phy.c file
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 11 Dec 2018 16:55:41 +0000 (18:55 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Feb 2019 00:08:54 +0000 (16:08 -0800)
commitd143096a5587ece47302607d22cd4bfa07db5c5e
tree904218b093d5c5f0b3769699424639a323f1ef26
parentfdbac877d39c2bdeaf2c4c7e535af25977adb2e3
igc: Remove unreachable code from igc_phy.c file

Address community comment.
Remove the unreachable code leads to the static checker warning.
PHY functionality will be added later per demand.
Reported by Dan Carpenter.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_phy.c