media-devnode: just return 0 instead of using a var
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 18:18:27 +0000 (15:18 -0300)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 28 Apr 2020 18:03:48 +0000 (19:03 +0100)
commit2b9fba4061be83f88a3c3f98a201c7a4a0c5fbd7
tree61cc689deb6eeaeb6525759ac2e56c67ed684f06
parentc6bea5a0977245830ef9e45a06baedcbd0e30666
media-devnode: just return 0 instead of using a var

commit 8b37c6455fc8f43e0e95db2847284e618db6a4f8 upstream.

Instead of allocating a var to store 0 and just return it,
change the code to return 0 directly.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/media/media-devnode.c