[PATCH] i2c: s3c2410: remove unused variable

Wolfram Sang wsa at the-dreams.de
Thu Jul 16 13:40:19 PDT 2015


On Thu, Jul 16, 2015 at 10:36:16PM +0200, Laurent Navet wrote:
> ret is assigned zero and just used to return. remove it.
> Found by using coccinelle.
> 
> Signed-off-by: Laurent Navet <laurent.navet at gmail.com>

Why not make it void?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150716/97a5b17e/attachment.sig>


More information about the linux-arm-kernel mailing list