mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Revert "HID: steelseries: validate output report details"
This reverts commit90037b2720. Remove duplicate code. This patch is already upstreamed in v4.4, commit41df7f6d43(HID: steelseries: validate output report details). Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
This commit is contained in:
committed by
Dmitry Shmidt
parent
4e461c777e
commit
379cf6e8dd
@@ -253,11 +253,6 @@ static int steelseries_srws1_probe(struct hid_device *hdev,
|
||||
goto err_free;
|
||||
}
|
||||
|
||||
if (!hid_validate_values(hdev, HID_OUTPUT_REPORT, 0, 0, 16)) {
|
||||
ret = -ENODEV;
|
||||
goto err_free;
|
||||
}
|
||||
|
||||
ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
|
||||
if (ret) {
|
||||
hid_err(hdev, "hw start failed\n");
|
||||
|
||||
Reference in New Issue
Block a user