summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/dib8000.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-08-26 09:18:41 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-27 15:47:00 +0300
commit47bdf7c6d607335f79deead3aba481c3baf04971 (patch)
treebe50e976541f65a27db6ed341f24666f786a90cd /drivers/media/dvb-frontends/dib8000.h
parent5af478341fa3b2c35a7062ad80581751bf388977 (diff)
downloadlinux-47bdf7c6d607335f79deead3aba481c3baf04971.tar.xz
media: dib8000: remove some bogus dead code
This function is broken. It sets the wrong front_end to NULL. But it's not used, so let's just delete it. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/dib8000.h')
-rw-r--r--drivers/media/dvb-frontends/dib8000.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/dib8000.h b/drivers/media/dvb-frontends/dib8000.h
index 2b8b4b1656a2..75cc8e47ec8f 100644
--- a/drivers/media/dvb-frontends/dib8000.h
+++ b/drivers/media/dvb-frontends/dib8000.h
@@ -53,7 +53,6 @@ struct dib8000_ops {
enum frontend_tune_state (*get_tune_state)(struct dvb_frontend *fe);
int (*set_tune_state)(struct dvb_frontend *fe, enum frontend_tune_state tune_state);
int (*set_slave_frontend)(struct dvb_frontend *fe, struct dvb_frontend *fe_slave);
- int (*remove_slave_frontend)(struct dvb_frontend *fe);
struct dvb_frontend *(*get_slave_frontend)(struct dvb_frontend *fe, int slave_index);
int (*i2c_enumeration)(struct i2c_adapter *host, int no_of_demods,
u8 default_addr, u8 first_addr, u8 is_dib8096p);