aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-06-04 15:50:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-08 20:56:03 -0400
commit5a18664e49549762d09e771ad02111d2c2721dc8 (patch)
treecf1a04d07f51e9dd6e44f19df135141b8c12070a /drivers/media/usb/dvb-usb-v2/rtl28xxu.c
parentf39fac3e409322d23261e89374a7d9daecfd6acb (diff)
[media] rtl28xxu: remove redundant IS_ENABLED macro
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/rtl28xxu.c')
-rw-r--r--drivers/media/usb/dvb-usb-v2/rtl28xxu.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index 416701167434..8bbc6abc9d35 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@ -1231,11 +1231,7 @@ static int rtl2831u_get_rc_config(struct dvb_usb_device *d,
1231 1231
1232 return 0; 1232 return 0;
1233} 1233}
1234#else
1235 #define rtl2831u_get_rc_config NULL
1236#endif
1237 1234
1238#if IS_ENABLED(CONFIG_RC_CORE)
1239static int rtl2832u_rc_query(struct dvb_usb_device *d) 1235static int rtl2832u_rc_query(struct dvb_usb_device *d)
1240{ 1236{
1241 int ret, i, len; 1237 int ret, i, len;
@@ -1338,7 +1334,8 @@ static int rtl2832u_get_rc_config(struct dvb_usb_device *d,
1338 return 0; 1334 return 0;
1339} 1335}
1340#else 1336#else
1341 #define rtl2832u_get_rc_config NULL 1337#define rtl2831u_get_rc_config NULL
1338#define rtl2832u_get_rc_config NULL
1342#endif 1339#endif
1343 1340
1344static const struct dvb_usb_device_properties rtl2831u_props = { 1341static const struct dvb_usb_device_properties rtl2831u_props = {