From: Damien Lespiau Date: Thu, 7 May 2015 17:38:44 +0000 (+0100) Subject: drm/i915/skl: Remove unnecessary () used with abs_diff() X-Git-Tag: v4.3-rc1~75^2~36^2~324 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=64311571a91fdd6d2ddc9055e9ba477f118067ad;p=karo-tx-linux.git drm/i915/skl: Remove unnecessary () used with abs_diff() abs_diff() properly protects its parameters, so no need for the outer () here. Signed-off-by: Damien Lespiau Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index 416f8fbea34e..0f931740149b 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -1239,7 +1239,7 @@ found: if (found) { dco_central_freq_deviation[dco_count] = div64_u64(10000 * - abs_diff((candidate_p * afe_clock), + abs_diff(candidate_p * afe_clock, dco_central_freq[dco_count]), dco_central_freq[dco_count]);