staging: rtl8723bs: Remove no-op netdevice_notifier()
authorHans de Goede <hdegoede@redhat.com>
Thu, 24 Oct 2024 18:10:52 +0000 (20:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Nov 2024 23:51:15 +0000 (00:51 +0100)
commit037f9a6df3fba555a51412020c5f80a81fecacfa
treecd46f5fc357f67082b51d9971e33216e7d4136d3
parent39dace70722a5ce76a6053c7613402de025017b0
staging: rtl8723bs: Remove no-op netdevice_notifier()

rtw_ndev_notifier_call() does not do anything other then
a netdev_dbg() + always returning NOTIFY_DONE.

Remove the no-op notifier.

This also fixes a WARN() when unbinding + rebinding the driver
which was caused by the remove() method not unregistering
the notifier.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241024181052.67031-1-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/osdep_intf.h
drivers/staging/rtl8723bs/os_dep/os_intfs.c
drivers/staging/rtl8723bs/os_dep/sdio_intf.c