iio: dac: ltc2632 remove redundant pointer chip_info and spi_dev_id
authorColin Ian King <colin.king@canonical.com>
Mon, 2 Jul 2018 10:13:59 +0000 (11:13 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 7 Jul 2018 16:46:25 +0000 (17:46 +0100)
commit5f0d4fd6b2c6f4ce14af861b17b9bebc8ba1265a
treebfb7b81cc3dcc01898bab3636da08fafdba8c8ac
parent366995df8b9ed7743386813412dcfa991c170d28
iio: dac: ltc2632 remove redundant pointer chip_info and spi_dev_id

Pointers chip_info and spi_dev_id are being assigned but are never used
hence they are redundant and can be removed.

Cleans up clang warning:
warning: variable 'chip_info' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ltc2632.c