Revert "usb: gadget: accessory: add compat_ioctl"

This reverts commit 349bb1466b.

Replaced by commit 74720dae8b ("ANDROID: usb: gadget: f_accessory: add compat_ioctl support")

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang 2022-07-12 19:53:43 +08:00
parent f7e79c99d7
commit 5e7f6915a1

View File

@ -931,9 +931,6 @@ static const struct file_operations acc_fops = {
.read = acc_read,
.write = acc_write,
.unlocked_ioctl = acc_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = acc_ioctl,
#endif
.open = acc_open,
.release = acc_release,
};