Re: [PATCH] amdgpu/dc: Remove unnecessary initialization in dc_link_handle_hpd_rx_irq()

2018-02-10 Thread Guenter Roeck
On Fri, Feb 9, 2018 at 3:12 PM, Matthias Kaehlcke wrote: > The initialization of 'result' is unnecessary, the variable is assigned > unconditionally a few lines below. Removing the initialization also fixes > the following warning when building with clang: > > drivers/gpu/drm/amd/amdgpu/../display

[PATCH] amdgpu/dc: Remove unnecessary initialization in dc_link_handle_hpd_rx_irq()

2018-02-09 Thread Matthias Kaehlcke
The initialization of 'result' is unnecessary, the variable is assigned unconditionally a few lines below. Removing the initialization also fixes the following warning when building with clang: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1931:26: error: implicit conversion from en