2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 02:04:05 +08:00

drm/nouveau/hwmon: fix compilation without CONFIG_HWMON

Reported-by: Jim Davis <jim.epost@gmail.com>
Tested-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Ilia Mirkin 2013-11-27 12:38:42 -05:00 committed by Dave Airlie
parent a1f84f57f9
commit eec99016e3

View File

@ -630,7 +630,6 @@ error:
hwmon->hwmon = NULL;
return ret;
#else
hwmon->hwmon = NULL;
return 0;
#endif
}