mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
[media] rtl28xxu: remove redundant IS_ENABLED macro
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
f39fac3e40
commit
5a18664e49
1 changed files with 2 additions and 5 deletions
|
|
@ -1231,11 +1231,7 @@ static int rtl2831u_get_rc_config(struct dvb_usb_device *d,
|
|||
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
#define rtl2831u_get_rc_config NULL
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_RC_CORE)
|
||||
static int rtl2832u_rc_query(struct dvb_usb_device *d)
|
||||
{
|
||||
int ret, i, len;
|
||||
|
|
@ -1338,7 +1334,8 @@ static int rtl2832u_get_rc_config(struct dvb_usb_device *d,
|
|||
return 0;
|
||||
}
|
||||
#else
|
||||
#define rtl2832u_get_rc_config NULL
|
||||
#define rtl2831u_get_rc_config NULL
|
||||
#define rtl2832u_get_rc_config NULL
|
||||
#endif
|
||||
|
||||
static const struct dvb_usb_device_properties rtl2831u_props = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue