aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/pt1/pt1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb/pt1/pt1.c b/drivers/media/dvb/pt1/pt1.c
index 9cd161c409ef..15b35c4725f1 100644
--- a/drivers/media/dvb/pt1/pt1.c
+++ b/drivers/media/dvb/pt1/pt1.c
@@ -99,7 +99,6 @@ struct pt1_adapter {
99 struct dvb_demux demux; 99 struct dvb_demux demux;
100 int users; 100 int users;
101 struct dmxdev dmxdev; 101 struct dmxdev dmxdev;
102 struct dvb_net net;
103 struct dvb_frontend *fe; 102 struct dvb_frontend *fe;
104 int (*orig_set_voltage)(struct dvb_frontend *fe, 103 int (*orig_set_voltage)(struct dvb_frontend *fe,
105 fe_sec_voltage_t voltage); 104 fe_sec_voltage_t voltage);
@@ -624,7 +623,6 @@ static int pt1_wakeup(struct dvb_frontend *fe)
624 623
625static void pt1_free_adapter(struct pt1_adapter *adap) 624static void pt1_free_adapter(struct pt1_adapter *adap)
626{ 625{
627 dvb_net_release(&adap->net);
628 adap->demux.dmx.close(&adap->demux.dmx); 626 adap->demux.dmx.close(&adap->demux.dmx);
629 dvb_dmxdev_release(&adap->dmxdev); 627 dvb_dmxdev_release(&adap->dmxdev);
630 dvb_dmx_release(&adap->demux); 628 dvb_dmx_release(&adap->demux);
@@ -694,8 +692,6 @@ pt1_alloc_adapter(struct pt1 *pt1)
694 if (ret < 0) 692 if (ret < 0)
695 goto err_dmx_release; 693 goto err_dmx_release;
696 694
697 dvb_net_init(dvb_adap, &adap->net, &demux->dmx);
698
699 return adap; 695 return adap;
700 696
701err_dmx_release: 697err_dmx_release: