summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-09-29 17:13:27 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-09-29 13:03:49 -0400
commitbd6d15769e6dcd22c57224b67376e1c6fb44b04f (patch)
treefc3249684155e1d07397d2661d89854b48616429 /drivers/gpu/drm/amd/display/dc
parentc233e91b0f3f7c9abc80eae491fa6507a24a8a32 (diff)
amdgpu/dc: inline fixed31_32 div_int
Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc')
-rw-r--r--drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c b/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
index 1764a33c8350..26936892c6f5 100644
--- a/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
+++ b/drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
@@ -266,15 +266,6 @@ struct fixed31_32 dal_fixed31_32_sqr(
return res;
}
-struct fixed31_32 dal_fixed31_32_div_int(
- struct fixed31_32 arg1,
- int64_t arg2)
-{
- return dal_fixed31_32_from_fraction(
- arg1.value,
- dal_fixed31_32_from_int(arg2).value);
-}
-
struct fixed31_32 dal_fixed31_32_recip(
struct fixed31_32 arg)
{