]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: asc.acc.pipeline is always NULL
authorHans de Goede <hdegoede@redhat.com>
Wed, 15 Jun 2022 20:50:18 +0000 (21:50 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 15:22:50 +0000 (16:22 +0100)
commitbb3c5bc1d9e3d2cbc5e8cd96a957049c02f0abc4
tree5883d22cf78bba92430b2c8a500b41c7f6ca9a59
parentd663918571c3a3ee08e9f30e6362b8e8cd48a7b9
media: atomisp: asc.acc.pipeline is always NULL

With the removal of the ACC ioctls and atomisp_acc.c asc.acc.pipeline
never gets set, so it is always NULL.

Remove asc.acc.pipeline and drop checks for it being NULL / !NULL.

Link: https://lore.kernel.org/linux-media/20220615205037.16549-22-hdegoede@redhat.com
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
drivers/staging/media/atomisp/pci/atomisp_subdev.h