OSDN Git Service

staging: atomisp: remove redudant condition in if-statement
authorDaeseok Youn <daeseok.youn@gmail.com>
Mon, 20 Mar 2017 14:42:23 +0000 (14:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 07:04:33 +0000 (08:04 +0100)
commit02838938a9414d6f3fe5f427c34efd8d87365862
treee99b18d567a58c8c05d8b377a5dcd0626da46128
parente9f11ace35ac6d37f04153c236dddc8308b0bdc2
staging: atomisp: remove redudant condition in if-statement

The V4L2_FIELD_ANY is zero, so the (!field) is same meaning
with (field == V4L2_FIELD_ANY) in if-statement.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c