summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-05 17:22:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-06 18:20:33 +0200
commitb33f56a1e40588214320926293585f088fb390b0 (patch)
tree33ffeb3e16d06be687e2c1ac2acea2db868a85ff /drivers/iio
parentstaging: pi433: Fix typo in documentation (diff)
downloadlinux-b33f56a1e40588214320926293585f088fb390b0.tar.xz
linux-b33f56a1e40588214320926293585f088fb390b0.zip
staging: rtl8723bs: hal: remove redundant variable n
The variable n is being assigned a value that is never read inside an if statement block, the assignment is redundant and can be removed. With this removed, n is only being used for a constant loop bounds check, so replace n with that value instead and remove n completely. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20190905152227.4610-1-colin.king@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions