Commit e243c3c4 authored by Michel Machado's avatar Michel Machado Committed by Mauro Carvalho Chehab

[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: default avatarMichel Machado <michel@digirati.com.br>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
CC: "David Härdeman" <david@hardeman.nu>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 75c7dbca
...@@ -221,7 +221,6 @@ static int __init loop_init(void) ...@@ -221,7 +221,6 @@ static int __init loop_init(void)
rc->s_idle = loop_set_idle; rc->s_idle = loop_set_idle;
rc->s_learning_mode = loop_set_learning_mode; rc->s_learning_mode = loop_set_learning_mode;
rc->s_carrier_report = loop_set_carrier_report; rc->s_carrier_report = loop_set_carrier_report;
rc->priv = &loopdev;
loopdev.txmask = RXMASK_REGULAR; loopdev.txmask = RXMASK_REGULAR;
loopdev.txcarrier = 36000; loopdev.txcarrier = 36000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment