Bluetooth: hidp: Don't release device ref if never held
[pandora-kernel.git] / net / bluetooth / hidp / core.c
index a859f90..fb68f34 100644 (file)
@@ -844,7 +844,6 @@ static int hidp_setup_input(struct hidp_session *session,
        if (err < 0) {
                input_free_device(input);
                session->input = NULL;
-               hci_conn_put_device(session->conn);
                return err;
        }