Re: [PATCH][next] drm/amd/display: remove redundant variable status

2019-11-08 Thread Alex Deucher
On Fri, Nov 8, 2019 at 11:29 AM Colin King wrote: > > From: Colin Ian King > > Variable status is redundant, it is being initialized with a value > that is over-written later and this is being returned immediately > after the assignment. Clean up the code by removing status and > just returning

[PATCH][next] drm/amd/display: remove redundant variable status

2019-11-08 Thread Colin King
From: Colin Ian King Variable status is redundant, it is being initialized with a value that is over-written later and this is being returned immediately after the assignment. Clean up the code by removing status and just returning the value returned from the call to function dc->hwss.dmdata_sta