r8152: remove rtl_vendor_mode function
authorHayes Wang <hayeswang@realtek.com>
Thu, 19 Jan 2023 07:40:42 +0000 (15:40 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Jan 2023 02:06:09 +0000 (18:06 -0800)
commit95a4c1d617b92cdc4522297741b56e8f6cd01a1e
tree9ac7ae9c71d933d8d96502802e02671e8ff3b862
parentb3c588cd553d6996cc97f3dc0a7081b9a9b36b48
r8152: remove rtl_vendor_mode function

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>
drivers/net/usb/r8152.c