From: Michel Machado Date: Fri, 18 May 2012 12:26:03 +0000 (-0300) Subject: [media] rc-loopback: remove duplicate line X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e243c3c4f7305310a283cd2f762f889a48dad90a;p=openwrt%2Fstaging%2Fblogic.git [media] rc-loopback: remove duplicate line This patch just removes the second assignment "rc->priv = &loopdev;" that happens a fews lines after the first one. Signed-off-by: Michel Machado CC: Mauro Carvalho Chehab CC: "David Härdeman" Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/rc-loopback.c b/drivers/media/rc/rc-loopback.c index efc6a514348a..fae1615e0ff2 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;