Re: [PATCH] i2c: nomadik: remove an unnecessary NULL check in nmk_i2c_remove()

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

 



On Thu, Mar 28, 2019 at 05:16:09PM +0300, Dan Carpenter wrote:
> "res" can't be NULL because it's a pointer to somewhere in the middle of
> the "adev" struct.  Also probe() succeeded so there is no need to check
> here.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux