summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/bt8xx
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-02-12 01:24:26 +0000
committerJohannes Stezenbach <devnull@localhost>2005-02-12 01:24:26 +0000
commit6c5ab98a8ab381d6a5558f1bf652912f3410ea81 (patch)
treee10226da5b4ead21785fb9754588755149b61343 /linux/drivers/media/dvb/bt8xx
parent8b8fd47c0831239d188888e0317071ab1733b9cc (diff)
downloadmediapointer-dvb-s2-6c5ab98a8ab381d6a5558f1bf652912f3410ea81.tar.gz
mediapointer-dvb-s2-6c5ab98a8ab381d6a5558f1bf652912f3410ea81.tar.bz2
patch by Adrian Bunk:
This patch contains the following possible cleanups: - make needlessly global code static - remove the following EXPORT_SYMBOL'ed but unused function: - bt8xx/bt878.c: bt878_find_by_i2c_adap - remove the following unused global functions: - dvb-core/dvb_demux.c: dmx_get_demuxes - dvb-core/dvb_demux.c: dvb_set_crc32 - remove the following unneeded EXPORT_SYMBOL's: - dvb-core/dvb_demux.c: dvb_dmx_swfilter_packet - dvb-core/dvb_demux.c: dvbdmx_connect_frontend - dvb-core/dvb_demux.c: dvbdmx_disconnect_frontend - dvb-core/dvbdev.c: dvb_class Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx')
-rw-r--r--linux/drivers/media/dvb/bt8xx/bt878.c15
-rw-r--r--linux/drivers/media/dvb/bt8xx/dst_priv.h1
2 files changed, 0 insertions, 16 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/bt878.c b/linux/drivers/media/dvb/bt8xx/bt878.c
index 7968bfef3..0fe599037 100644
--- a/linux/drivers/media/dvb/bt8xx/bt878.c
+++ b/linux/drivers/media/dvb/bt8xx/bt878.c
@@ -381,21 +381,6 @@ bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *
EXPORT_SYMBOL(bt878_device_control);
-struct bt878 *bt878_find_by_i2c_adap(struct i2c_adapter *adapter)
-{
- unsigned int card_nr;
-
- printk("bt878 find by dvb adap: checking \"%s\"\n",adapter->name);
- for (card_nr = 0; card_nr < bt878_num; card_nr++) {
- if (bt878[card_nr].adapter == adapter)
- return &bt878[card_nr];
- }
- printk("bt878 find by dvb adap: NOT found \"%s\"\n",adapter->name);
- return NULL;
-}
-
-EXPORT_SYMBOL(bt878_find_by_i2c_adap);
-
/***********************/
/* PCI device handling */
/***********************/
diff --git a/linux/drivers/media/dvb/bt8xx/dst_priv.h b/linux/drivers/media/dvb/bt8xx/dst_priv.h
index b3d5e6fc6..80488aa62 100644
--- a/linux/drivers/media/dvb/bt8xx/dst_priv.h
+++ b/linux/drivers/media/dvb/bt8xx/dst_priv.h
@@ -34,4 +34,3 @@ struct bt878;
int bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp);
-struct bt878 *bt878_find_by_i2c_adap(struct i2c_adapter *adap);