diff --git a/drivers/usb/gadget/function/f_accessory.c b/drivers/usb/gadget/function/f_accessory.c index 73185410d3a0..66a603f3327d 100644 --- a/drivers/usb/gadget/function/f_accessory.c +++ b/drivers/usb/gadget/function/f_accessory.c @@ -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, };