aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-03-17 14:52:34 +0000
committerTony Nguyen <[email protected]>2021-03-19 20:53:49 +0000
commitf2d75b178532087c15b2a86ec79e443177611b7a (patch)
treec8e10c6ac235928d56c33c43ca5503abc13fb40a /net/lapb/lapb_iface.c
parentigc: Assign boolean values to a bool variable (diff)
downloadkernel-f2d75b178532087c15b2a86ec79e443177611b7a.tar.gz
kernel-f2d75b178532087c15b2a86ec79e443177611b7a.zip
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: ccf8b940e5fd ("e1000e: Leverage direct_complete to speed up s2ram") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions