[PATCH] drm/nouveau/hwmon: fix compilation without CONFIG_HWMON
Ilia Mirkin
imirkin at alum.mit.edu
Wed Nov 27 09:38:42 PST 2013
Reported-by: Jim Davis <jim.epost at gmail.com>
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
drivers/gpu/drm/nouveau/nouveau_hwmon.c | 1 -
1 file changed, 1 deletion(-)
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
}
--
1.8.3.2
More information about the dri-devel
mailing list