Return-Path: Date: Tue, 21 Sep 2010 08:41:12 +0300 From: Ville Tervo To: ext haijun liu Cc: "linux-bluetooth@vger.kernel.org" , "dantian.ip" Subject: Re: [PATCH 1/2] Bluetooth: Remove duplicate code. Message-ID: <20100921054112.GC17820@null> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Mon, Sep 20, 2010 at 03:26:14AM +0200, ext haijun liu wrote: > Remove duplicate code, it's already in l2cap_send_disconn_req(). > > > Signed-off-by: Haijun.Liu Acked-by: Ville Tervo > --- > net/bluetooth/l2cap.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c > index 725744b..076d1af 100644 > --- a/net/bluetooth/l2cap.c > +++ b/net/bluetooth/l2cap.c > @@ -3222,7 +3222,6 @@ static inline int l2cap_config_rsp(struct > l2cap_conn *conn, struct l2cap_cmd_hdr > } > > default: > - sk->sk_err = ECONNRESET; > l2cap_sock_set_timer(sk, HZ * 5); > l2cap_send_disconn_req(conn, sk, ECONNRESET); > goto done; > -- > 1.6.3.3 > > > -- > Haijun Liu > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html