iio: dac: ad5758: remove set but not used variable 'dc_dc_mode'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 26 Apr 2019 16:40:06 +0000 (00:40 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Apr 2019 13:15:39 +0000 (14:15 +0100)
commite99c25f4320d1a8329c12c66680a974725ff16a0
tree71dc26116747c1f154d660988013b8899e372efa
parent8b7a6a35746292e140304107e60f9a980416abf7
iio: dac: ad5758: remove set but not used variable 'dc_dc_mode'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/iio/dac/ad5758.c: In function ad5758_write_powerdown:
drivers/iio/dac/ad5758.c:585:15: warning: variable dc_dc_mode set but not used [-Wunused-but-set-variable]

It is not used any more since
commit edde945257e2 ("iio: dac: ad5758: Modifications for new revision")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ad5758.c