Commit cd7334d6 authored by Akihiro Tsukada's avatar Akihiro Tsukada Committed by Mauro Carvalho Chehab

[media] dvb: earth-pt1: remove unsupported net subdevices

PT1 and PT2 do not have net functions.
Signed-off-by: default avatarAkihiro Tsukada <tskd2@yahoo.co.jp>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 7ff04760
...@@ -99,7 +99,6 @@ struct pt1_adapter { ...@@ -99,7 +99,6 @@ struct pt1_adapter {
struct dvb_demux demux; struct dvb_demux demux;
int users; int users;
struct dmxdev dmxdev; struct dmxdev dmxdev;
struct dvb_net net;
struct dvb_frontend *fe; struct dvb_frontend *fe;
int (*orig_set_voltage)(struct dvb_frontend *fe, int (*orig_set_voltage)(struct dvb_frontend *fe,
fe_sec_voltage_t voltage); fe_sec_voltage_t voltage);
...@@ -624,7 +623,6 @@ static int pt1_wakeup(struct dvb_frontend *fe) ...@@ -624,7 +623,6 @@ static int pt1_wakeup(struct dvb_frontend *fe)
static void pt1_free_adapter(struct pt1_adapter *adap) static void pt1_free_adapter(struct pt1_adapter *adap)
{ {
dvb_net_release(&adap->net);
adap->demux.dmx.close(&adap->demux.dmx); adap->demux.dmx.close(&adap->demux.dmx);
dvb_dmxdev_release(&adap->dmxdev); dvb_dmxdev_release(&adap->dmxdev);
dvb_dmx_release(&adap->demux); dvb_dmx_release(&adap->demux);
...@@ -694,8 +692,6 @@ pt1_alloc_adapter(struct pt1 *pt1) ...@@ -694,8 +692,6 @@ pt1_alloc_adapter(struct pt1 *pt1)
if (ret < 0) if (ret < 0)
goto err_dmx_release; goto err_dmx_release;
dvb_net_init(dvb_adap, &adap->net, &demux->dmx);
return adap; return adap;
err_dmx_release: err_dmx_release:
......
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