Commit 9d45d5fb authored by Markus Elfring's avatar Markus Elfring Committed by Mauro Carvalho Chehab

[media] RedRat3: Delete an unnecessary variable initialisation in redrat3_init_rc_dev()

The local variable "ret" will be set to an appropriate value a bit later.
Thus omit the explicit initialisation at the beginning.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 7aa20afe
...@@ -897,7 +897,7 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3) ...@@ -897,7 +897,7 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
{ {
struct device *dev = rr3->dev; struct device *dev = rr3->dev;
struct rc_dev *rc; struct rc_dev *rc;
int ret = -ENODEV; int ret;
u16 prod = le16_to_cpu(rr3->udev->descriptor.idProduct); u16 prod = le16_to_cpu(rr3->udev->descriptor.idProduct);
rc = rc_allocate_device(); rc = rc_allocate_device();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment