Revert "HID: uhid: Over-ride the default maximum data buffer value with our own"

This reverts commit 4cd8ffa488 which is
commit 1c5d4221240a233df2440fe75c881465cdf8da07 upstream.

It breaks the Android KABI and if needed, should come back in an
abi-safe way.

Bug: 161946584
Cc: Lee Jones <joneslee@google.com>
Change-Id: I9a460d9dbc41512ee71ff607e875f2da9be7f9f6
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2023-03-23 07:05:52 +00:00
parent a22c3a8790
commit 204ba8dd68

View File

@ -395,7 +395,6 @@ struct hid_ll_driver uhid_hid_driver = {
.parse = uhid_hid_parse,
.raw_request = uhid_hid_raw_request,
.output_report = uhid_hid_output_report,
.max_buffer_size = UHID_DATA_MAX,
};
EXPORT_SYMBOL_GPL(uhid_hid_driver);