Skip to content

Commit

Permalink
[media] rc-loopback: remove duplicate line
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michel Machado authored and Mauro Carvalho Chehab committed May 20, 2012
1 parent 75c7dbc commit e243c3c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/rc/rc-loopback.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e243c3c

Please sign in to comment.