aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-09-03 12:41:15 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 10:05:57 +0200
commit0d51573df3e0d944a644dbe90cdb06afefe77cc4 (patch)
tree80a8072bf6918edbe59d91a3cafb780eac2bfda2 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com
parentmedia: atomisp: Fix locking around asd->streaming read/write (diff)
downloadlinux-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