OSDN Git Service

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

customer_id is initialize to zero. Changing customer_id to
RT_CID_819x_CAMEO, RT_CID_819x_RUNTOP, RT_CID_Nettronix or RT_CID_PRONET
would not change the program execution as there is no equation for
RT_CID_819x_CAMEO, RT_CID_819x_RUNTOP, RT_CID_Nettronix or RT_CID_PRONET.
Remove useless code lines to increase readability.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/b546933897acc20a6ac5be2bd5ef5ad979599c66.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
drivers/staging/rtl8192e/rtl8192e/rtl_core.h