summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2004-10-26 14:07:26 +0000
committerPatrick Boettcher <devnull@localhost>2004-10-26 14:07:26 +0000
commit0b0db6f507ff608fc6fc8810be6b3400623b9803 (patch)
tree2b6c17039d38a7f10bbb13e3f48669e92d74ed5a /linux/drivers/media
parentd8274b3dc12922dc7875ef038a19582cdbc91993 (diff)
downloadmediapointer-dvb-s2-0b0db6f507ff608fc6fc8810be6b3400623b9803.tar.gz
mediapointer-dvb-s2-0b0db6f507ff608fc6fc8810be6b3400623b9803.tar.bz2
#if 0'ing unused code
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dibusb/dvb-dibusb.c21
1 files changed, 15 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb.c
index 9c4ac99dc..df25cfd76 100644
--- a/linux/drivers/media/dvb/dibusb/dvb-dibusb.c
+++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb.c
@@ -113,11 +113,6 @@ static int dibusb_readwrite_usb(struct usb_dibusb *dib,
return ret;
}
-static int dibusb_write_usb(struct usb_dibusb *dib, u8 *buf, u16 len)
-{
- return dibusb_readwrite_usb(dib,buf,len,NULL,0);
-}
-
static int dibusb_i2c_msg(struct usb_dibusb *dib, u8 addr,
u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
{
@@ -284,9 +279,21 @@ static int dibusb_stop_feed(struct dvb_demux_feed *dvbdmxfeed)
}
/*
- * firmware transfers
+ * Cypress transfers
+ */
+
+#if 0
+
+/*
+ * #if 0'ing the following 5 functions as they are not in use _now_,
+ * but probably will be sometime.
*/
+static int dibusb_write_usb(struct usb_dibusb *dib, u8 *buf, u16 len)
+{
+ return dibusb_readwrite_usb(dib,buf,len,NULL,0);
+}
+
/*
* do not use this, just a workaround for a bug,
* which will hopefully never occur :).
@@ -353,6 +360,8 @@ static int dibusb_hw_wakeup(struct usb_dibusb *dib)
return dibusb_ioctl_cmd(dib,DIBUSB_IOCTL_CMD_POWER_MODE, b,1);
}
+#endif
+
/*
* I2C
*/