Re: [PATCH linux-next] drm/gem: Remove the unneeded result variable

2022-08-31 Thread Thierry Reding
On Wed, Aug 31, 2022 at 12:25:52PM +0300, Jani Nikula wrote: > On Wed, 31 Aug 2022, cgel@gmail.com wrote: > > From: ye xingchen > > > > Return the value drm_gem_handle_delete() directly instead of storing it > > in another redundant variable. > > Personally, I generally prefer keeping these t

Re: [PATCH linux-next] drm/gem: Remove the unneeded result variable

2022-08-31 Thread Jani Nikula
On Wed, 31 Aug 2022, cgel@gmail.com wrote: > From: ye xingchen > > Return the value drm_gem_handle_delete() directly instead of storing it > in another redundant variable. Personally, I generally prefer keeping these types of variables, because they make future changes on the code easier. For