mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c: 2 * pointless local variables ?
       [not found] <VI1PR08MB1022BE7B66F95FEA77412DDD9C720@VI1PR08MB1022.eurprd08.prod.outlook.com>
@ 2017-01-23 11:54 ` Michal Simek
  0 siblings, 0 replies; only message in thread
From: Michal Simek @ 2017-01-23 11:54 UTC (permalink / raw)
  To: David Binderman, michal.simek, soren.brinkmann, linux-arm-kernel,
	linux-kernel

On 23.1.2017 12:39, David Binderman wrote:
> 
> Hello there,
> 
> [linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c:301]: (style) Variable 'num_writes' is modified but its new value is never used.
> [linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c:356]: (style) Variable 'read_count' is modified but its new value is never used.
> 
> Suggest either use these local variables in some way or delete them.
> 

I have sent patch which removes them.

Thanks,
Michal

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-23 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <VI1PR08MB1022BE7B66F95FEA77412DDD9C720@VI1PR08MB1022.eurprd08.prod.outlook.com>
2017-01-23 11:54 ` linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c: 2 * pointless local variables ? Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®