summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/media/rc/rc-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/media/rc/rc-main.c')
-rw-r--r--kernel/drivers/media/rc/rc-main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/drivers/media/rc/rc-main.c b/kernel/drivers/media/rc/rc-main.c
index f8c5e47a3..0aba9ff92 100644
--- a/kernel/drivers/media/rc/rc-main.c
+++ b/kernel/drivers/media/rc/rc-main.c
@@ -1191,9 +1191,6 @@ static int rc_dev_uevent(struct device *device, struct kobj_uevent_env *env)
{
struct rc_dev *dev = to_rc_dev(device);
- if (!dev || !dev->input_dev)
- return -ENODEV;
-
if (dev->rc_map.name)
ADD_HOTPLUG_VAR("NAME=%s", dev->rc_map.name);
if (dev->driver_name)