drm/nouveau/hwmon: remove some redundant checks
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Feb 2014 09:29:43 +0000 (12:29 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 03:59:31 +0000 (13:59 +1000)
commitaa34efeddb6426c2d03214e65d6f31fbf7d413da
tree248954e3f4ca2b6ad267ca81c58010b1da0bfad3
parent4ac1b1a29f5d73aad47dfecc3e66577e8b79ad5a
drm/nouveau/hwmon: remove some redundant checks

No need to check "ret" twice in a row.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_hwmon.c