[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210518190042.1666ca00@jic23-huawei>
Date: Tue, 18 May 2021 19:00:42 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Tang Bin <tangbin@...s.chinamobile.com>, lars@...afoo.de,
Michael.Hennerich@...log.com, knaack.h@....de, pmeerw@...erw.net,
gregkh@...uxfoundation.org, linux-iio@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Lucas Stankus <lucas.p.stankus@...il.com>
Subject: Re: [PATCH] staging: iio: cdc: ad7746: Remove unnecessary
assignment in ad7746_probe()
On Tue, 18 May 2021 13:16:26 +0300
Dan Carpenter <dan.carpenter@...cle.com> wrote:
> On Tue, May 18, 2021 at 05:56:47PM +0800, Tang Bin wrote:
> > In the function ad7746_probe(), the initialized value of 'ret' is unused,
> > because it will be assigned by the function i2c_smbus_write_byte_data(),
> > thus remove it.
> >
> > Signed-off-by: Tang Bin <tangbin@...s.chinamobile.com>
>
> Thanks!
>
> Reviewed-by: Dan Carpenter <dan.carpenter@...cle.com>
>
> regards,
> dan carpenter
>
As this doesn't (I think) overlap with Lucas' series I've applied this
one to the togreg branch of iio.git and pushed it out as testing for the
autobuilders to see if we missed anything.
Powered by blists - more mailing lists