* [PATCH 1/1] rc-loopback: remove duplicate line
@ 2012-05-18 13:26 Michel Machado
0 siblings, 0 replies; only message in thread
From: Michel Machado @ 2012-05-18 13:26 UTC (permalink / raw)
To: linux-media, linux-kernel; +Cc: Mauro Carvalho Chehab, David Härdeman
This patch just removes the second assignment "rc->priv = &loopdev;"
that happens a fews lines after the first one.
Signed-off-by: Michel Machado <michel@digirati.com.br>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
CC: "David Härdeman" <david@hardeman.nu>
---
diff --git a/drivers/media/rc/rc-loopback.c b/drivers/media/rc/rc-loopback.c
index efc6a51..fae1615 100644
--- a/drivers/media/rc/rc-loopback.c
+++ b/drivers/media/rc/rc-loopback.c
@@ -221,7 +221,6 @@ static int __init loop_init(void)
rc->s_idle = loop_set_idle;
rc->s_learning_mode = loop_set_learning_mode;
rc->s_carrier_report = loop_set_carrier_report;
- rc->priv = &loopdev;
loopdev.txmask = RXMASK_REGULAR;
loopdev.txcarrier = 36000;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-18 13:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-18 13:26 [PATCH 1/1] rc-loopback: remove duplicate line Michel Machado
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).