Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1033373imw; Tue, 5 Jul 2022 02:33:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v8TPxb/5ow7meppMvTd1+PbUlVX+7xz1BfB0R3oM2p+Pfs6iXUZuvBvLZHg7DUEIeo4JUx X-Received: by 2002:a05:6a00:17a7:b0:525:4306:72ad with SMTP id s39-20020a056a0017a700b00525430672admr40182204pfg.42.1657013601880; Tue, 05 Jul 2022 02:33:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657013601; cv=none; d=google.com; s=arc-20160816; b=DKWYJHu0Y7ZQ0lcTC9ykrp9/OWNzipsELxSE0P+ZEI6ldaCRGVb3/vX5eb9ogKzBvg eCkku9O19snv14EcXEMdTkFafHRqJz5lf7FYwJb/uG0QTvtKLlUsP+GZqJp+186yKLs9 uJMxFTOCWzi93aYYF75/UURY1Gypt7v5jq5xWz8S/6LBaJRPlRpZEPzEmT96TRxLo/8y J4LD4RK/0jnmjJyoWVOEtaNZ8tinynQMJN5523kz1Ug5rJUpXi1UmAZ9Uq2Yw6racl4Z +k0eg80A2T163Mz5Ppz90p/RZh88zMvMC2Ml75hvd4+SXLq47R5RhA3p5xtP2C2iFHCc TDWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=GAHbzMNdRbTH10NWLsFrQoxA4+5a3LqxBfNuIhHaM3A=; b=USMCtvlMKmEuamvdYBDXtic6NSrJb0l7oeZcobMkTfX/UU8n8TWpgB9KAMJ8v9+ruX GO+bcO9ZY4u/SApq2g5Uu6ddrLPEjdWhRtGx77KS9A/BfqpuLyEWt4/JbIjfaLH2erP6 CQS7KD+gi+lrYPNTosE8i7ww+Og8177vfIsVCbO6gTf3g8WR/ITQi+or3gWANf0LznSG TSaOtfK+5lzfZpjGNai3iy30TEnrejluvAkZPPA0gWe84Htclo0RdyKjEgJb1Y4bcC5X Bw+Ub6VTeQHzpsm09+ZK2bIuEISPE2Iqxp89VXQpodSm4A20wHslry6ydHISQoWvt2D7 Oxcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a170902d50900b0016163a204cfsi22616211plg.334.2022.07.05.02.32.49; Tue, 05 Jul 2022 02:33:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230375AbiGEJah (ORCPT + 99 others); Tue, 5 Jul 2022 05:30:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230017AbiGEJaR (ORCPT ); Tue, 5 Jul 2022 05:30:17 -0400 Received: from smtpbg156.qq.com (smtpbg156.qq.com [15.184.82.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 507DFE009 for ; Tue, 5 Jul 2022 02:30:11 -0700 (PDT) X-QQ-mid: bizesmtp91t1657013404tpx19yz4 Received: from localhost.localdomain ( [113.57.152.160]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 05 Jul 2022 17:29:55 +0800 (CST) X-QQ-SSF: 01400000002000C0E000B00A0000000 X-QQ-FEAT: ZKIyA7viXp0m1EQ4TqpDjXHYBuY+KzRZKm8zc/0Z20q51xVvAUFHpTZZLL1v7 atj8Kf2dhtYvV4cEsx7arbJthR7ehTQBtzgf+8AoiMq2e+J0tkSDCbKuwmeCeaDiF/l1CUR 0AKA8m31PL0wqxIvSILOuNR9AZoKaVj69F4Pr6WN2SoyHRI7rTVc8rH/5t2UbiW9rPvW2Ga hz+MsYroCKP4xEHEl9owdmow0t72I9l4NKvgRPrfQNFmYO37I4A7991g4AH8NjAh3Uvt3So p7y80UruFp9cVj56OmrZvA0SWcVsdVw49Nf2CixROiVKbiNimHYS1Sx7TG8qdBqTrc8ufHo gMoeYTOFeX4iKMYwlk= X-QQ-GoodBg: 2 From: Youwan Wang To: linux-bluetooth@vger.kernel.org Cc: Youwan Wang Subject: [PATCH] obexd: Fix the code style Date: Tue, 5 Jul 2022 17:29:52 +0800 Message-Id: <20220705092952.11868-1-wangyouwan@uniontech.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign9 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org --- obexd/client/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/client/session.c b/obexd/client/session.c index 6955a8089..7d8ebb04e 100644 --- a/obexd/client/session.c +++ b/obexd/client/session.c @@ -950,7 +950,7 @@ static void transfer_complete(struct obc_transfer *transfer, { struct obc_session *session = user_data; - if (err != 0) + if (err) goto fail; session_notify_complete(session, transfer); -- 2.20.1