aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtlwifi/core.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-08 13:30:31 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-27 09:20:40 +0100
commit6b549e20b63421e8655f7fe3612de414ec16ee2a (patch)
treec7434fe130364e02bd4815a0f906a813783134f7 /drivers/staging/rtlwifi/core.c
parentstaging: dgnc: Fix usleep_range is preferred over udelay (diff)
downloadlinux-dev-6b549e20b63421e8655f7fe3612de414ec16ee2a.tar.xz
linux-dev-6b549e20b63421e8655f7fe3612de414ec16ee2a.zip
staging: rtlwifi: remove redundant assignments to ul_enc_algo
Variable ul_enc_algo is being initialized with a value that is never read, it is being set again in the following switch statements in all of the case and default paths. Hence the unitialization is redundant and can be removed. Cleans up two clang warnings: Value stored to 'ul_enc_algo' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtlwifi/core.c')
0 files changed, 0 insertions, 0 deletions