media: atomisp: remove compat_ioctl32 code
authorArnd Bergmann <arnd@arndb.de>
Mon, 14 Jun 2021 10:34:07 +0000 (12:34 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 17 Jun 2021 08:17:39 +0000 (10:17 +0200)
commitb4c650f1af68251f1970aecfc3c2fceec1552da2
treeb18f20e21480d9582a590e85d53d0135bc1cb21c
parent8162f78d27c61e148a4342c62bddef3c26135bcb
media: atomisp: remove compat_ioctl32 code

This is one of the last remaining users of compat_alloc_user_space()
and copy_in_user(), which are in the process of getting removed.

As of commit 57e6b6f2303e ("media: atomisp_fops.c: disable
atomisp_compat_ioctl32"), nothing in this file is actually getting used
as the only reference has been stubbed out.

Remove the entire file -- anyone willing to restore the functionality
can equally well just look up the contents in the git history if needed.

Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/Makefile
drivers/staging/media/atomisp/TODO
drivers/staging/media/atomisp/pci/atomisp_compat_ioctl32.c [deleted file]
drivers/staging/media/atomisp/pci/atomisp_fops.c