Skip to content

Commit

Permalink
[media] dvb: earth-pt1: remove unsupported net subdevices
Browse files Browse the repository at this point in the history
PT1 and PT2 do not have net functions.

Signed-off-by: Akihiro Tsukada <tskd2@yahoo.co.jp>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Akihiro Tsukada authored and Mauro Carvalho Chehab committed Mar 19, 2012
1 parent 7ff0476 commit cd7334d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/media/dvb/pt1/pt1.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ struct pt1_adapter {
struct dvb_demux demux;
int users;
struct dmxdev dmxdev;
struct dvb_net net;
struct dvb_frontend *fe;
int (*orig_set_voltage)(struct dvb_frontend *fe,
fe_sec_voltage_t voltage);
Expand Down Expand Up @@ -624,7 +623,6 @@ static int pt1_wakeup(struct dvb_frontend *fe)

static void pt1_free_adapter(struct pt1_adapter *adap)
{
dvb_net_release(&adap->net);
adap->demux.dmx.close(&adap->demux.dmx);
dvb_dmxdev_release(&adap->dmxdev);
dvb_dmx_release(&adap->demux);
Expand Down Expand Up @@ -694,8 +692,6 @@ pt1_alloc_adapter(struct pt1 *pt1)
if (ret < 0)
goto err_dmx_release;

dvb_net_init(dvb_adap, &adap->net, &demux->dmx);

return adap;

err_dmx_release:
Expand Down

0 comments on commit cd7334d

Please sign in to comment.