projects/linux·commit eec99016

drm/nouveau/hwmon: fix compilation without CONFIG_HWMON

eec99016 · Ilia Mirkin <[email protected]> · 2013-11-27 12:38:42 -05:00

Reported-by: Jim Davis <[email protected]>
Tested-by: Jim Davis <[email protected]>
Signed-off-by: Ilia Mirkin <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Commit
eec99016e38b740662509f097effb90abc7a1376
Parents
a1f84f57

Changes

1 files changed · +0 −1

FileStatusAddDelContent
drivers/gpu/drm/nouveau/nouveau_hwmon.cmodified+0−1View file

drivers/gpu/drm/nouveau/nouveau_hwmon.c

View file
diff --git a/drivers/gpu/drm/nouveau/nouveau_hwmon.c b/drivers/gpu/drm/nouveau/nouveau_hwmon.c
index 38a4db5..4aff04f 100644
--- a/drivers/gpu/drm/nouveau/nouveau_hwmon.c
+++ b/drivers/gpu/drm/nouveau/nouveau_hwmon.c
@@ -630,7 +630,6 @@ error:
hwmon->hwmon = NULL;
return ret;
#else
- hwmon->hwmon = NULL;
return 0;
#endif
}