staging: rtl8192e: Remove entry .nic_type from struct rtl819x_ops
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Tue, 21 Feb 2023 20:53:43 +0000 (21:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Mar 2023 16:04:59 +0000 (17:04 +0100)
commit0296ef43567a292f171708769660705385db77a6
treed36f41d4648ba754a49716ffc6b27d82163f16bc
parent5ac30dd269df943bfd37fbd72e09a07f2bf450c5
staging: rtl8192e: Remove entry .nic_type from struct rtl819x_ops

Remove unchanged entry .nic_type and replace it with constant NIC_8192E.
This increases readability of the code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/f1fd37a2d2b90bef8caac31a98f3eeff404b3095.1677010997.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtl8192e/rtl_pci.c