Skip to content
Commit 57cdf82c authored by Guenter Roeck's avatar Guenter Roeck Committed by Dave Airlie
Browse files

drm: nouveau: Fix build warning seen if HWMON is undefined



Fix:

nouveau_pm.c: In function ‘nouveau_hwmon_init’:
nouveau_pm.c:703:24: warning: unused variable ‘therm’ [-Wunused-variable]

Introduced by commit 095f979a (drm/nouveau/pm: fix build with HWMON off) which
fixed a build error but introduced a build warning.

Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e61e512b
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