2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-01 18:24:23 +08:00
linux-next/drivers/net/ethernet/intel/e1000e
Bruce Allan c2c6629ba3 e1000e: cleanup: remove e1000_force_speed_duplex()
Remove the function e1000_force_speed_duplex() and replace the single call
to it with the same function pointer that it would call.  The function
pointer is always set so there is no risk of a NULL pointer dereference.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-01-27 21:41:41 -08:00
..
80003es2lan.c e1000e: cleanup: do not assign a variable a value when not necessary 2013-01-27 02:15:48 -08:00
82571.c e1000e: cleanup: do not assign a variable a value when not necessary 2013-01-27 02:15:48 -08:00
defines.h e1000e: update copyright date 2013-01-27 01:22:53 -08:00
e1000.h e1000e: add comment to spinlock_t definition 2013-01-27 01:54:42 -08:00
ethtool.c e1000e: cleanup: do not assign a variable a value when not necessary 2013-01-27 02:15:48 -08:00
hw.h e1000e: remove definition of struct which is no longer used 2013-01-27 01:47:40 -08:00
ich8lan.c e1000e: cleanup: do not assign a variable a value when not necessary 2013-01-27 02:15:48 -08:00
mac.c e1000e: cleanup: do not assign a variable a value when not necessary 2013-01-27 02:15:48 -08:00
Makefile e1000e: update copyright date 2013-01-27 01:22:53 -08:00
manage.c e1000e: update copyright date 2013-01-27 01:22:53 -08:00
netdev.c e1000e: cleanup: do not assign a variable a value when not necessary 2013-01-27 02:15:48 -08:00
nvm.c e1000e: update copyright date 2013-01-27 01:22:53 -08:00
param.c e1000e: update copyright date 2013-01-27 01:22:53 -08:00
phy.c e1000e: cleanup: remove e1000_force_speed_duplex() 2013-01-27 21:41:41 -08:00
ptp.c e1000e: update copyright date 2013-01-27 01:22:53 -08:00