]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192e: Remove dead code: dig_t::dbg_mode, drx_path_sel::DbgMode
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Mon, 8 Jun 2015 21:23:34 +0000 (23:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:13:27 +0000 (17:13 -0700)
commit1cfa514148e4c26aa568ec9bf0b0ca55d5c34f32
treeb79e2c4c937f120d24eb8085a751db7abf531868
parent3da996af2d87c02b090cf8358d2f95bea938b809
staging: rtl8192e: Remove dead code: dig_t::dbg_mode, drx_path_sel::DbgMode

dig_t::dbg_mode and drx_path_sel::DbgMode are initialized to one value and
checked only once in code.This patch throws them away, and deletes
always-true conditions.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h