linux/drivers/net/ethernet/intel/e1000e
Wei Yongjun f2d75b1785 e1000e: Mark e1000e_pm_prepare() as __maybe_unused
The function e1000e_pm_prepare() may have no callers depending
on configuration, so it must be marked __maybe_unused to avoid
harmless warning:

drivers/net/ethernet/intel/e1000e/netdev.c:6926:12:
 warning: 'e1000e_pm_prepare' defined but not used [-Wunused-function]
 6926 | static int e1000e_pm_prepare(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~

Fixes: ccf8b940e5 ("e1000e: Leverage direct_complete to speed up s2ram")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-03-19 13:53:49 -07:00
..
80003es2lan.c intel-ethernet: clean up W=1 warnings in kdoc 2020-09-25 16:28:59 -07:00
80003es2lan.h
82571.c ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
82571.h
defines.h
e1000.h e1000e: Export S0ix flags to ethtool 2020-12-23 15:18:34 -08:00
ethtool.c e1000e: Export S0ix flags to ethtool 2020-12-23 15:18:34 -08:00
hw.h e1000e: Add support for Meteor Lake 2020-09-28 14:42:46 -07:00
ich8lan.c e1000e: remove the redundant value assignment in e1000_update_nvm_checksum_spt 2021-02-03 16:32:18 -08:00
ich8lan.h
mac.c
mac.h
Makefile
manage.c
manage.h
netdev.c e1000e: Mark e1000e_pm_prepare() as __maybe_unused 2021-03-19 13:53:49 -07:00
nvm.c
nvm.h
param.c ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
phy.c intel-ethernet: clean up W=1 warnings in kdoc 2020-09-25 16:28:59 -07:00
phy.h
ptp.c e1000e: Add support for Meteor Lake 2020-09-28 14:42:46 -07:00
regs.h e1000e: fix S0ix flows for cable connected case 2020-04-19 11:37:00 -07:00