drm/amd/powerplay: indent a couple if statements
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 20 Jan 2016 10:17:48 +0000 (13:17 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:16:43 +0000 (14:16 -0500)
We recently redid the indenting, but missed these two if statements.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h

index b7429a5278289f35d7a40b76063add4ad916b34f..b10df328d58cd10d4055084bf389286f680d810f 100644 (file)
@@ -293,7 +293,7 @@ fInt GetScaledFraction(int X, int factor)
        }
 
        if (factor == 1)
-       return (ConvertToFraction(X));
+               return ConvertToFraction(X);
 
        fValue = fDivide(ConvertToFraction(X * uPow(-1, bNEGATED)), ConvertToFraction(factor));
 
@@ -371,7 +371,7 @@ fInt fDivide (fInt X, fInt Y)
        fZERO = ConvertToFraction(0);
 
        if (Equal(Y, fZERO))
-       return fZERO;
+               return fZERO;
 
        longlongX = (int64_t)X.full;
        longlongY = (int64_t)Y.full;