OSDN Git Service

media: Hexium Orion: Adjust one function call together with a variable assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 3 Sep 2017 18:12:36 +0000 (14:12 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 12:31:39 +0000 (08:31 -0400)
commit5f4d34693cfb217354e079789864ed8801b0d39d
treee94fe32eb07054ad548a396b35a05a3c0e73f94d
parent84c62fb996721897623337e9ebd19f9846873b55
media: Hexium Orion: Adjust one function call together with a variable assignment

The script "checkpatch.pl" pointed information out like the following.

ERROR: do not use assignment in if condition

Thus fix the affected source code place.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/saa7146/hexium_orion.c