diff options
| author | 2022-09-03 12:41:15 +0200 | |
|---|---|---|
| committer | 2022-09-24 10:05:57 +0200 | |
| commit | 0d51573df3e0d944a644dbe90cdb06afefe77cc4 (patch) | |
| tree | 80a8072bf6918edbe59d91a3cafb780eac2bfda2 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | media: atomisp: Fix locking around asd->streaming read/write (diff) | |
| download | linux-dev-0d51573df3e0d944a644dbe90cdb06afefe77cc4.tar.xz linux-dev-0d51573df3e0d944a644dbe90cdb06afefe77cc4.zip | |
media: atomisp: Remove asd == NULL checks from ioctl handling
At probe time isp_subdev_init_entities() sets pipe->asd to a non NULL
value for all four (preview/vf/capture/capture_video) pipes by calling
atomisp_init_subdev_pipe() for all 4 pipes.
So it can never be NULL. Remove the redundant NULL checks.
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 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
