aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0215-drm-amd-powerplay-indent-a-couple-if-statements.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0215-drm-amd-powerplay-indent-a-couple-if-statements.patch')
-rw-r--r--common/recipes-kernel/linux/files/0215-drm-amd-powerplay-indent-a-couple-if-statements.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/common/recipes-kernel/linux/files/0215-drm-amd-powerplay-indent-a-couple-if-statements.patch b/common/recipes-kernel/linux/files/0215-drm-amd-powerplay-indent-a-couple-if-statements.patch
deleted file mode 100644
index 08f4668e..00000000
--- a/common/recipes-kernel/linux/files/0215-drm-amd-powerplay-indent-a-couple-if-statements.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 8b46404c2a790d4179b9a23741ad6d7d4cb71f3f Mon Sep 17 00:00:00 2001
-From: Dan Carpenter <dan.carpenter@oracle.com>
-Date: Wed, 20 Jan 2016 13:17:48 +0300
-Subject: [PATCH 0215/1110] 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>
----
- drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h | 4 ++--
- 1 file 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 b7429a5..b10df32 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;
---
-2.7.4
-