summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/hal/hal_com.c
diff options
context:
space:
mode:
authorJakub Sitnicki <jsitnicki@gmail.com>2015-07-10 16:52:18 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-15 03:12:19 (GMT)
commite827aeedd0e14dcb67eb29afbaa875ab1a0f7b26 (patch)
tree37e961fd517e4c184d72839dd887092c03ad8012 /drivers/staging/rtl8188eu/hal/hal_com.c
parent3738408cc802025a1ecf4a059a0c8ab048cb7e72 (diff)
downloadlinux-e827aeedd0e14dcb67eb29afbaa875ab1a0f7b26.tar.xz
staging: rtl8188eu: remove ICtype from struct HAL_VERSION
IC type on RTL8188EU is always 8188E. Remove it and all the macros that check it. Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/hal_com.c')
-rw-r--r--drivers/staging/rtl8188eu/hal/hal_com.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/staging/rtl8188eu/hal/hal_com.c b/drivers/staging/rtl8188eu/hal/hal_com.c
index 170e3de..62ffa7c 100644
--- a/drivers/staging/rtl8188eu/hal/hal_com.c
+++ b/drivers/staging/rtl8188eu/hal/hal_com.c
@@ -31,18 +31,7 @@ void dump_chip_info(struct HAL_VERSION chip_vers)
uint cnt = 0;
char buf[128];
- if (IS_81XXC(chip_vers)) {
- cnt += sprintf((buf+cnt), "Chip Version Info: %s_",
- IS_92C_SERIAL(chip_vers) ?
- "CHIP_8192C" : "CHIP_8188C");
- } else if (IS_92D(chip_vers)) {
- cnt += sprintf((buf+cnt), "Chip Version Info: CHIP_8192D_");
- } else if (IS_8723_SERIES(chip_vers)) {
- cnt += sprintf((buf+cnt), "Chip Version Info: CHIP_8723A_");
- } else if (IS_8188E(chip_vers)) {
- cnt += sprintf((buf+cnt), "Chip Version Info: CHIP_8188E_");
- }
-
+ cnt += sprintf((buf+cnt), "Chip Version Info: CHIP_8188E_");
cnt += sprintf((buf+cnt), "%s_", IS_NORMAL_CHIP(chip_vers) ?
"Normal_Chip" : "Test_Chip");
cnt += sprintf((buf+cnt), "%s_", IS_CHIP_VENDOR_TSMC(chip_vers) ?