diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-10 08:11:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-31 14:48:08 -0700 |
commit | f22f99e101c078101db200f329c1ebdcf59e0da9 (patch) | |
tree | 9431d9f23fc716bf235b187b8b5ac85b24d0648a /drivers/staging/lirc | |
parent | 4fd09f900a218c3cb61a2b015b03dcbd6f96b600 (diff) | |
download | linux-f22f99e101c078101db200f329c1ebdcf59e0da9.tar.gz linux-f22f99e101c078101db200f329c1ebdcf59e0da9.tar.bz2 linux-f22f99e101c078101db200f329c1ebdcf59e0da9.zip |
Staging: lirc: remove unneeded variable
We never use control_req so I removed it.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/lirc')
-rw-r--r-- | drivers/staging/lirc/lirc_imon.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/lirc/lirc_imon.c b/drivers/staging/lirc/lirc_imon.c index 66493253042e..cb5699c5b885 100644 --- a/drivers/staging/lirc/lirc_imon.c +++ b/drivers/staging/lirc/lirc_imon.c @@ -320,7 +320,6 @@ static int send_packet(struct imon_context *context) unsigned int pipe; int interval = 0; int retval = 0; - struct usb_ctrlrequest *control_req = NULL; /* Check if we need to use control or interrupt urb */ pipe = usb_sndintpipe(context->usbdev, @@ -355,8 +354,6 @@ static int send_packet(struct imon_context *context) err("%s: packet tx failed (%d)", __func__, retval); } - kfree(control_req); - return retval; } |