summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_fops.c
diff options
context:
space:
mode:
authorColin Ian King2018-01-26 14:52:55 +0100
committerGreg Kroah-Hartman2018-01-26 15:08:43 +0100
commit3384e01179eff2b2fe91ba7bcad98ee2be5f87f7 (patch)
treebd78f36e416e2cff41b19d830157b8874e1597c1 /drivers/staging/comedi/comedi_fops.c
parentstaging: rtl8723bs: remove a couple of redundant initializations (diff)
downloadkernel-qcow2-linux-3384e01179eff2b2fe91ba7bcad98ee2be5f87f7.tar.gz
kernel-qcow2-linux-3384e01179eff2b2fe91ba7bcad98ee2be5f87f7.tar.xz
kernel-qcow2-linux-3384e01179eff2b2fe91ba7bcad98ee2be5f87f7.zip
staging: rtlwifi: remove redundant initialization of 'cfg_cmd'
The initialization of cfg_cmd is redundant as the value is never read and it is being re-assigned to cfg_cmd = pwrcfgcmd[ary_idx] inside a loop, hence it can be removed. Cleans up clang warning: drivers/staging/rtlwifi/core.c:1819:22: warning: Value stored to 'cfg_cmd' 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/comedi/comedi_fops.c')
0 files changed, 0 insertions, 0 deletions