]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
r8152: remove rtl_vendor_mode function
authorHayes Wang <hayeswang@realtek.com>
Thu, 19 Jan 2023 07:40:42 +0000 (15:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2023 14:17:43 +0000 (15:17 +0100)
commitaa3cc80e8edaa6098b58eb4a613d765496c2dfca
treea122cf48a7448ace4bb42427f7bb38899fa27bba
parent07ba21627ebbb2c68c357e8d698166c45078d014
r8152: remove rtl_vendor_mode function

commit 95a4c1d617b92cdc4522297741b56e8f6cd01a1e upstream.

After commit ec51fbd1b8a2 ("r8152: add USB device driver for
config selection"), the code about changing USB configuration
in rtl_vendor_mode() wouldn't be run anymore. Therefore, the
function could be removed.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/r8152.c