]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4463d3137475fe107d2223aee4628abf9f1064a
treebfb7b81cc3dcc01898bab3636da08fafdba8c8ac
parent5b44725b5fd38815a1cb8653d5ae47d4496c1f14
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