Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp732859pxf; Wed, 24 Mar 2021 14:45:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr8xlBjfivEsqLrFz4/iqkTd34UYwScFxp2L30U3mcefkzA2jG1n9J6PC140e4IIY/FrA4 X-Received: by 2002:a17:906:e2d4:: with SMTP id gr20mr6047225ejb.432.1616622330603; Wed, 24 Mar 2021 14:45:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616622330; cv=none; d=google.com; s=arc-20160816; b=RQBRC/EkOVsIKPftxrQwLppR7doPQOXsGrvFKJT0Nr27Vc7bzfzBnve62mRE9YurUl aiiOVSQzAWOeN/3UWod3mF5mUwHzAkvHh6MrfF/KplbATwoTSP9mgMrtf6FCdHgtgMg3 M+VBVI3DNNfs5WqFPZgcETiy8vFaxEWvWF8eMl+KqqGZaRAQMCAwJpmhp26JiQwQaU4u E4kGzhh1JzJ8NdC1NKuvKO3KHmAQQnQVGNt+hZXKR1IA+xaahkJ+2Anu5hKSnd4Hkkhv JQrTqHi3CwFrlg6XVog5S5blhpQVcFMI/TM+/YFpiDxMK5Dfx1/bE5TNz2CxbzsWVBIO CRZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=cH9JXth1lCeurUH+Je6QfT73h54uEvU+JTFkpdFlKuk=; b=028zY91x5u+ncX4deO+VJCdxF7VNBxCg8q+wnGUaQd2v3Dc+/u1tCWy8hRg16EQZot FSyuHuJI3Vl1R5OygIm87q83HssfVXHk+xXjvCZH66Aceq3dk6+5mVXFdk2erXatYBW3 CZh8PWTidTDEI0w+pj1t16faLpxXTEX5+vGA2CBRL/vXNpL3VlUy0Ae0JaH8sR1D25Xo RvV4Fengm2LRBJDH2g95N5/xmnNw/sBJrqDAWZts13X/htBQGJXTJExVlXf7nB/GShXt 0yMBwCNNLQXIEV9AJdzmIRK96AeCoO5+SMDewVj6xakBZfAOS/zZ+YD1f2u+0gGClkOG W1xQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cd26si2668153ejb.473.2021.03.24.14.45.06; Wed, 24 Mar 2021 14:45:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234232AbhCXBTd (ORCPT + 99 others); Tue, 23 Mar 2021 21:19:33 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:14437 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234261AbhCXBTJ (ORCPT ); Tue, 23 Mar 2021 21:19:09 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4F4r2327jgzkf2q; Wed, 24 Mar 2021 09:17:31 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Wed, 24 Mar 2021 09:18:59 +0800 From: Meng Yu To: , , CC: , , Subject: [PATCH] Bluetooth: SCO - Remove trailing semicolon in macros Date: Wed, 24 Mar 2021 09:16:30 +0800 Message-ID: <1616548590-32794-1-git-send-email-yumeng18@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove trailing semicolon in macros and coding style fix. Signed-off-by: Meng Yu --- net/bluetooth/sco.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 22a110f..3bd4156 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -51,8 +51,8 @@ struct sco_conn { unsigned int mtu; }; -#define sco_conn_lock(c) spin_lock(&c->lock); -#define sco_conn_unlock(c) spin_unlock(&c->lock); +#define sco_conn_lock(c) spin_lock(&c->lock) +#define sco_conn_unlock(c) spin_unlock(&c->lock) static void sco_sock_close(struct sock *sk); static void sco_sock_kill(struct sock *sk); -- 2.8.1