drm/amd/display: Remove extra pairs of parentheses in dce_calcs.c
authorMatthias Kaehlcke <mka@chromium.org>
Wed, 7 Feb 2018 19:49:28 +0000 (11:49 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:43 +0000 (14:19 -0500)
commit81875979f0b29e56e385b9211666ea1b086024b6
treeb3c77c4c785077cccfa7fda24f069db8ea61f86a
parente966a725c0d87cc6a591ca3cfe04aaefc9e09ea6
drm/amd/display: Remove extra pairs of parentheses in dce_calcs.c

The double parentheses are not needed. Removing them fixes multiple
warnings like this when building with clang:

drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:617:42:
  error: equality comparison with extraneous parentheses
    [-Werror,-Wparentheses-equality]
  if ((data->graphics_micro_tile_mode == bw_def_rotated_micro_tiling)) {

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c