Re: [PATCH][V2] dmaengine: bcm-scm-raid: remove redundant null check on req

From: Vinod Koul
Date: Thu May 18 2017 - 23:23:45 EST


On Wed, May 17, 2017 at 10:58:50PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Req is never null on at the point of the null check, so
> remove this redundant check and just return &req->tx.
>
> Detected by CoverityScan, CID#1436147 ("Logically dead code")


Applied, thanks

--
~Vinod