summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ads7828.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2021-12-04 23:31:55 +0000
committerGuenter Roeck <linux@roeck-us.net>2021-12-26 15:02:06 -0800
commitd75553790b9f44f9a6023a51ca5283ef4688f339 (patch)
tree4b806d1b3a7238eff07373ba4167d5cb9981bd4d /drivers/hwmon/ads7828.c
parent3315e716999d98d628abebbffaa82bef52962c95 (diff)
downloadlinux-d75553790b9f44f9a6023a51ca5283ef4688f339.tar.bz2
hwmon: (adm1031) Remove redundant assignment to variable range
Variable range is being initialized with a value that is never read, it is being re-assigned in the next statement. The assignment is redundant, remove it and initialize range using the second assigned value. Clean up the formatting too by adding missing spaces. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20211204233155.55454-1-colin.i.king@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/ads7828.c')
0 files changed, 0 insertions, 0 deletions