mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Building the f75308 driver generates the following warning ...
drivers/hwmon/f75308.c: In function ‘f75308_detect’:
drivers/hwmon/f75308.c:1034:29: warning: unused variable ‘adapter’
[-Wunused-variable]
1034 | struct i2c_adapter *adapter = client->adapter;
| ^~~~~~~
Fix this by removing the unused variable 'adapter'.
Bug 4190165
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: Ib8672b1e9288bb0684bc8bee617b068d01e1fc6d
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2934693
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>