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

Commit 75759e31 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Mauro Carvalho Chehab
Browse files

[media] lmedm04: change some static variables to automatic



ibuf and rbuf in lme2510_int_response are always assigned to before they
are read, and their addresses do not escape the function, so they have
no reason to be static.

Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 3a3402d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -309,7 +309,7 @@ static void lme2510_int_response(struct urb *lme_urb)
{
{
	struct dvb_usb_adapter *adap = lme_urb->context;
	struct dvb_usb_adapter *adap = lme_urb->context;
	struct lme2510_state *st = adap_to_priv(adap);
	struct lme2510_state *st = adap_to_priv(adap);
	static u8 *ibuf, *rbuf;
	u8 *ibuf, *rbuf;
	int i = 0, offset;
	int i = 0, offset;
	u32 key;
	u32 key;
	u8 signal_lock = 0;
	u8 signal_lock = 0;