mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 01:54:00 +00:00
Bluetooth: Remove wrong error check
d458a9dfc add this check, but now it proves to be wrong. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
parent
3415a5fdde
commit
192893c721
@ -1023,7 +1023,7 @@ int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock,
|
|||||||
|
|
||||||
if (req->rd_size > 0) {
|
if (req->rd_size > 0) {
|
||||||
err = hidp_setup_hid(session, req);
|
err = hidp_setup_hid(session, req);
|
||||||
if (err && err != -ENODEV)
|
if (err)
|
||||||
goto purge;
|
goto purge;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user