Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f22f99e1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

Staging: lirc: remove unneeded variable



We never use control_req so I removed it.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarJarod Wilson <jarod@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4fd09f90
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;
}