From: Gustavo F. Padovan Date: Fri, 7 Oct 2011 00:27:56 +0000 (-0300) Subject: Bluetooth: Remove wrong error check X-Git-Tag: v3.3-rc1~182^2~44^2~536^2~97 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=192893c72197b3f49f76a315024bdcd5aa26fff3;p=platform%2Fkernel%2Flinux-exynos.git Bluetooth: Remove wrong error check d458a9dfc add this check, but now it proves to be wrong. Signed-off-by: Gustavo F. Padovan --- diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 8d99a17..7722d83 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c @@ -1023,7 +1023,7 @@ int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, if (req->rd_size > 0) { err = hidp_setup_hid(session, req); - if (err && err != -ENODEV) + if (err) goto purge; }