summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-09-04 10:56:47 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 10:11:35 +0200
commit405dac898124da8c30474b4b720405915dcf209f (patch)
treeed63459a70150a0d95c593f84581e6ff3a6de4f9 /security
parentd7306735e972a06cb788b8886bd0c070a245171d (diff)
downloadlinux-stable-405dac898124da8c30474b4b720405915dcf209f.tar.gz
linux-stable-405dac898124da8c30474b4b720405915dcf209f.tar.bz2
linux-stable-405dac898124da8c30474b4b720405915dcf209f.zip
media: atomisp: Drop unnecessary first_streamoff check
Drop an unnecessary first_streamoff check from atomisp_streamoff(), above the check there is a: if (!first_streamoff) goto stop_sensor; Code block which will jump over the code with the test, so the test is only executed when first_streamoff is true and therefor the test is not necessary. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions