mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
wifi: rtlwifi: Remove unused rtl_usb_{resume|suspend}
rtl_usb_resume() and rtl_usb_suspend() are trivial stubs that were added in 2011's commit2ca20f79e0("rtlwifi: Add usb driver") but aren't wired up anywhere (though commit442888c706("rtlwifi: rtl8192cu: Add routines dm, fw, led and sw") added commented out assignments). Remove them. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250425235340.288340-2-linux@treblig.org
This commit is contained in:
parent
77a6407c6a
commit
d559636e38
|
|
@ -1077,15 +1077,3 @@ void rtl_usb_disconnect(struct usb_interface *intf)
|
|||
ieee80211_free_hw(hw);
|
||||
}
|
||||
EXPORT_SYMBOL(rtl_usb_disconnect);
|
||||
|
||||
int rtl_usb_suspend(struct usb_interface *pusb_intf, pm_message_t message)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(rtl_usb_suspend);
|
||||
|
||||
int rtl_usb_resume(struct usb_interface *pusb_intf)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(rtl_usb_resume);
|
||||
|
|
|
|||
|
|
@ -138,7 +138,5 @@ int rtl_usb_probe(struct usb_interface *intf,
|
|||
const struct usb_device_id *id,
|
||||
const struct rtl_hal_cfg *rtl92cu_hal_cfg);
|
||||
void rtl_usb_disconnect(struct usb_interface *intf);
|
||||
int rtl_usb_suspend(struct usb_interface *pusb_intf, pm_message_t message);
|
||||
int rtl_usb_resume(struct usb_interface *pusb_intf);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user