[media] rc-loopback: remove duplicate line
authorMichel Machado <michel@digirati.com.br>
Fri, 18 May 2012 12:26:03 +0000 (09:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 19:06:06 +0000 (16:06 -0300)
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/rc-loopback.c

index efc6a514348afc394836026ddb885b328b6bc1ac..fae1615e0ff24d6b3d87b660f7c45e55f75a8689 100644 (file)
@@ -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;