Skip to content
Commit 842b1722 authored by Tang Bin's avatar Tang Bin Committed by Jonathan Cameron
Browse files

staging: iio: cdc: ad7746: Remove unnecessary assignment in ad7746_probe()



In the function ad7746_probe(), the initialized value of 'ret' is unused,
because it will be assigned by the function i2c_smbus_write_byte_data(),
thus remove it.

Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210518095647.3008-1-tangbin@cmss.chinamobile.com
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent b892770a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment