Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186237

Re: [PATCH] i2c: s3c2410: remove unused variable

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH] i2c: s3c2410: remove unused variable
Date 2015-07-16 22:50 +0200
Message-ID <pMYgq-SY-23@gated-at.bofh.it> (permalink)
References <pMXX4-ws-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@gmail.com>

Why not make it void?

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] i2c: s3c2410: remove unused variable Laurent Navet <laurent.navet@gmail.com> - 2015-07-16 22:30 +0200
  Re: [PATCH] i2c: s3c2410: remove unused variable Wolfram Sang <wsa@the-dreams.de> - 2015-07-16 22:50 +0200

csiph-web