drm/nouveau/hwmon: fix compilation without CONFIG_HWMON
[pandora-kernel.git] / drivers / gpu / drm / nouveau / nouveau_hwmon.c
index 38a4db5..4aff04f 100644 (file)
@@ -630,7 +630,6 @@ error:
        hwmon->hwmon = NULL;
        return ret;
 #else
-       hwmon->hwmon = NULL;
        return 0;
 #endif
 }