dvb-usb/vp702x.c: cleanups
PATCH 1/1 dvb-usb/vp702x.c: cleanups
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 <[email protected]>
---
drivers/media/dvb/dvb-usb/vp702x.c | 4 +++- drivers/media/dvb/dvb-usb/vp702x.h | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-)
6fa11043546466fd262adfcc9a6ba9ed7bd06ba2
drivers/media/dvb/dvb-usb/vp702x.c +3 -1
@@ -56,7 +56,7 @@ int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8return 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;
@@ -204,6 +204,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;
@@ -217,6 +218,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 ]) {
drivers/media/dvb/dvb-usb/vp702x.h +0 -2
@@ -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