Re: [PATCH v1 3/3] dmaengine: dmatest: Return boolean result directly in filter()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 17, 2020 at 12:39:27PM +0300, Peter Ujfalusi wrote:
> On 16/09/2020 16.34, Andy Shevchenko wrote:
> > There is no need to have a conditional for boolean expression when
> > function returns bool. Drop unnecessary code and return boolean
> > result directly.
> > 
> > While at it, drop unneeded casting from void *.
> 
> my test scripts are working fine with the three patch applied.
> 
> Tested-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
> 
> Vinod: for all three patches ^^
> 
> Andy, Vladimir: thanks for the fixes!

Thanks for testing! I'll apply your tag to v2 (assuming you are okay with
slight changes Vinod requested).

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux