[patch] Staging: lirc: remove unneeded variable
Dan Carpenter
error27 at gmail.com
Fri Aug 13 13:38:40 UTC 2010
On Wed, Aug 11, 2010 at 10:46:47PM -0400, Jarod Wilson wrote:
> On Tue, Aug 10, 2010 at 08:11:20AM +0200, Dan Carpenter wrote:
> > We never use control_req so I removed it.
> >
> > Signed-off-by: Dan Carpenter <error27 at gmail.com>
>
> Leftover cruft from when lirc_imon also supported the devices now covered
> by the ir-core imon driver.
>
Speak of left over stuff, it's weird that I didn't notice this before
but gcc complains about an unitialized variable in
imon_incoming_packet().
drivers/staging/lirc/lirc_imon.c: In function ‘imon_incoming_packet’:
drivers/staging/lirc/lirc_imon.c:661: warning: ‘chunk_num’ may be used
uninitialized in this function
I don't know how to fix that, but it looks important.
regards,
dan carpenter
> Acked-by: Jarod Wilson <jarod at redhat.com>
>
>
> --
> Jarod Wilson
> jarod at redhat.com
More information about the devel
mailing list