summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-01-20 13:17:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-02-10 14:16:43 -0500
commit9e51021cfd1a14486df8575b83f65954c9d4c693 (patch)
tree4aed602a449b5b12db3724ef3cbbe092ea3c54dd /drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
parentd7006964d46d76930a44e14f1aae401ccb1797da (diff)
downloadblackbird-op-linux-9e51021cfd1a14486df8575b83f65954c9d4c693.tar.gz
blackbird-op-linux-9e51021cfd1a14486df8575b83f65954c9d4c693.zip
drm/amd/powerplay: indent a couple if statements
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h b/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
index b7429a527828..b10df328d58c 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
@@ -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;
OpenPOWER on IntegriCloud