OSDN Git Service

staging: rtl8192e: Remove case customer_id = RT_CID_DEFAULT, ..
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 2 Apr 2023 09:52:13 +0000 (11:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Apr 2023 14:38:23 +0000 (16:38 +0200)
commit3642e50acc63b92123b95bf8a63da204e44c4efb
tree7cc5a9a2146167957258d21480265fdbb97b9470
parent795916c1c8be85fc49bf50823343b075517fe573
staging: rtl8192e: Remove case customer_id = RT_CID_DEFAULT, ..

customer_id is initialize to zero. Changing customer_id to RT_CID_DEFAULT
will not change customer_id as it is already zero. default and
EEPROM_CID_WHQL contain only a break. Remove useless code lines to
increase readability.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/58df9db5da84991206266e739b2a12c893d1be8e.1680427945.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h