]> git.baikalelectronics.ru Git - kernel.git/commit
media: au8522: remove duplicate code
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 22 May 2018 17:09:22 +0000 (13:09 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 28 May 2018 20:26:38 +0000 (16:26 -0400)
commitbbf78360c4253abafc399853119627f710da1e66
tree6edf4af89371c79411d387865ddd0d992b9b31ed
parent02f45eb70e0fc9e9f98059a4275d02a49d6a3ea7
media: au8522: remove duplicate code

This code has been there for nine years now, and it has been
working "good enough" since then [1].

Remove duplicate code by getting rid of the if-else statement.

[1] https://marc.info/?l=linux-kernel&m=152693550225081&w=2

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-frontends/au8522_decoder.c