summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-05 18:06:47 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-05 18:06:47 +0100
commit5e819fd244439edfc5f6a86262dcef71e31e42c3 (patch)
treef6a492bca4f09ea3f4a1fc07ca586097c3529e8d /linux/drivers/media/dvb/dvb-usb
parent254f72ea7f111c232c9f5007aa3304eb7f0c5cbb (diff)
downloadmediapointer-dvb-s2-5e819fd244439edfc5f6a86262dcef71e31e42c3.tar.gz
mediapointer-dvb-s2-5e819fd244439edfc5f6a86262dcef71e31e42c3.tar.bz2
usb/vp702x.c: cleanups
From: Adrian Bunk <bunk@kernel.org> This patch contains the following cleanups: - make the needlessly global vp702x_usb_out_op() static - #if 0 the unused vp702x_power_ctrl() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/vp702x.c4
-rw-r--r--linux/drivers/media/dvb/dvb-usb/vp702x.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/vp702x.c b/linux/drivers/media/dvb/dvb-usb/vp702x.c
index b203810ba..28b7011f2 100644
--- a/linux/drivers/media/dvb/dvb-usb/vp702x.c
+++ b/linux/drivers/media/dvb/dvb-usb/vp702x.c
@@ -56,7 +56,7 @@ int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8
return ret;
}
-int vp702x_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value,
+static int vp702x_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value,
u16 index, u8 *b, int blen)
{
int ret;
@@ -236,6 +236,7 @@ static int vp702x_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
return 0;
}
+#if 0
int vp702x_power_ctrl(struct dvb_usb_device *d, int onoff)
{
struct vp702x_device_state *st = d->priv;
@@ -249,6 +250,7 @@ int vp702x_power_ctrl(struct dvb_usb_device *d, int onoff)
return 0;
}
+#endif /* 0 */
static int vp702x_read_mac_addr(struct dvb_usb_device *d,u8 mac[6])
{
diff --git a/linux/drivers/media/dvb/dvb-usb/vp702x.h b/linux/drivers/media/dvb/dvb-usb/vp702x.h
index 25a9dee4c..c2f97f96c 100644
--- a/linux/drivers/media/dvb/dvb-usb/vp702x.h
+++ b/linux/drivers/media/dvb/dvb-usb/vp702x.h
@@ -102,7 +102,5 @@ extern struct dvb_frontend * vp702x_fe_attach(struct dvb_usb_device *d);
extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec);
extern int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen);
-extern int vp702x_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen);
-extern int vp702x_power_ctrl(struct dvb_usb_device *d, int onoff);
#endif