]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c25935c46d7aa958378c44bb391bbe32d2b9c59
treee94fe32eb07054ad548a396b35a05a3c0e73f94d
parent6816a8de02953d05d1efd2d673606c5598878fc8
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