]> 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 16:00:28 +0000 (17:00 +0100)
commit4c2ad8e39c62c5288ca31ebf5c30e34f3bd9d044
tree4f85fa6c4f175e8da8ee9e08ecb88a5d2d3fbab6
parent1d82735f4bae954d5ba004994b96baec791f874f
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