aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-09-16 16:46:28 +0000
committerGreg Kroah-Hartman <[email protected]>2017-09-18 10:23:40 +0000
commit0d586255ca647ba8f5d7f0210d1516f942e5b43b (patch)
tree70d620ae99b301164a75ba4a5126f2d6c594982d /drivers/iio/trigger/stm32-timer-trigger.c
parentstaging: ccree: remove unused and redundant variable idx (diff)
downloadkernel-0d586255ca647ba8f5d7f0210d1516f942e5b43b.tar.gz
kernel-0d586255ca647ba8f5d7f0210d1516f942e5b43b.zip
staging: fbtft: remove redundant initialization of txbuf16
txbuf16 is being initialized at declaration time and then later set to another value without it being read inbetween, hence making the initialization redundant. Fix this by setting txbuf16 just the once. Also clean up some incorrect indentations. Cleans up clang build warning: warning: Value stored to 'txbuf16' during its initialization is never read Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions