Skip to content

Commit

Permalink
[media] dvb_usb_v2: remove rc-core stub implementations
Browse files Browse the repository at this point in the history
Those are not needed anymore as all dvb-usb-v2 drivers has proper
dependency checks for RC-core.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Jan 6, 2013
1 parent 21ca203 commit 21354c6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/media/usb/dvb-usb-v2/dvb_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -400,13 +400,4 @@ extern int dvb_usbv2_reset_resume(struct usb_interface *);
extern int dvb_usbv2_generic_rw(struct dvb_usb_device *, u8 *, u16, u8 *, u16);
extern int dvb_usbv2_generic_write(struct dvb_usb_device *, u8 *, u16);

/* stub implementations that will be never called when RC-core is disabled */
#if !defined(CONFIG_RC_CORE) && !defined(CONFIG_RC_CORE_MODULE)
#define rc_repeat(args...)
#define rc_keydown(args...)
#define rc_keydown_notimeout(args...)
#define rc_keyup(args...)
#define rc_g_keycode_from_table(args...) 0
#endif

#endif

0 comments on commit 21354c6

Please sign in to comment.