Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1172164pxf; Fri, 12 Mar 2021 03:47:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJy2fIXbIyZ5wi/NrhTl0kbPBE1wcD+4WnotZTgZ32duUmz4usOK0dCbjWH72OkI1JNS+rbX X-Received: by 2002:aa7:c903:: with SMTP id b3mr13647875edt.156.1615549664417; Fri, 12 Mar 2021 03:47:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615549664; cv=none; d=google.com; s=arc-20160816; b=m7YUpB+dGHahh4t1E562UgkuqcB2F2jnrjhlO5d3VvvkiUgcexcbOJR8qPS5YnStqI rTKBhEBmSYFU0KIJZINHrIxytEaHwOIYsrFeOO2t7hkJN4hcRtPUa6EXKU9KUfPvspk5 xIP+v50dw4Y5kYAGuXgf69Rp5THelogybMVLSMfZNqYqjZHTc9xyAPgzkowQCBOF8TZl YWPocEKslD5XX066CAQKyBxLp8WYxJ6TCo+aGWvPcasQjML5nM/5HZrziwGd9t01bp5N LR+02ofNXV41XrdFMNq6SQRoGqehryniBlHmG8jWkHkzNRlQHaEf0WouE13khn861+RY 3yfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=nByZsELJ18VxejkBACG9nfEUNTQXi6p20RdoZxHvMq8=; b=LXpSZADzDeHDAbtLtImcBhvAqifYAii1IY0fHbp9Be+eZRntrRdn+aFWIru+tjZ+zL znzMm+gvqFr+6fMJwZslJLBCub2m8stBzv7gCcoOpxLkIT8f4T66uO7/BrcyrASPOMzU 92vS6TKlJDfFwsqo4xNx8Hl9+M/+aIoN3oXLXrG2ohQLGsy3hRQf4/MjhBc91CMiCDu/ IQwMvRKAvtrHmhdsNMt6YmRHQIgXM47VpbfmQCeB0B1vPE7N0m0uQdNG8NuwAZ232cWz 9WzvqAM5qulkPZ69XgD9dIK/Z46EFssrxYDXOuZ7ko6QDRZeF6+QEZMOeRk3x7qYj6A9 o2/Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a11si3741567edr.205.2021.03.12.03.47.21; Fri, 12 Mar 2021 03:47:44 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232933AbhCLJbS (ORCPT + 99 others); Fri, 12 Mar 2021 04:31:18 -0500 Received: from smtp23.cstnet.cn ([159.226.251.23]:57440 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232950AbhCLJa5 (ORCPT ); Fri, 12 Mar 2021 04:30:57 -0500 Received: from localhost.localdomain (unknown [124.16.141.241]) by APP-03 (Coremail) with SMTP id rQCowADX3w+7NEtgMHQCAA--.12706S2; Fri, 12 Mar 2021 17:30:35 +0800 (CST) From: Xu Wang To: zbr@ioremap.net Cc: linux-kernel@vger.kernel.org Subject: [PATCH] w1: Remove extra brackets Date: Fri, 12 Mar 2021 09:30:33 +0000 Message-Id: <20210312093033.65390-1-vulab@iscas.ac.cn> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: rQCowADX3w+7NEtgMHQCAA--.12706S2 X-Coremail-Antispam: 1UD129KBjvdXoW7Gw45Xw1UGrykXr17KFW7Jwb_yoWxurbE9r y8Wr97Xr4DGF4xA3ZxZF45ZFyqqrZ2qr1xu3Wxta4Sg343Zr9xXFW8Xr4UJas5Xw43CFn3 GrykKrWfury3GjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb2xYjsxI4VWDJwAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUCVW8JwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26F4UJVW0owA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IE w4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r4UJVWxJr 1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxkIecxEwVAFwVW8uwCF04k2 0xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI 8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41l IxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIx AIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2 z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxUcg4SUUUUU X-Originating-IP: [124.16.141.241] X-CM-SenderInfo: pyxotu46lvutnvoduhdfq/1tbiCwcSA1z4j4xQ2AABsz Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove extra brackets. Signed-off-by: Xu Wang --- drivers/w1/w1_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c index b3e1792d9c49..eee4b5b652f1 100644 --- a/drivers/w1/w1_int.c +++ b/drivers/w1/w1_int.c @@ -102,7 +102,7 @@ int w1_add_master_device(struct w1_bus_master *master) !(master->write_bit && master->read_bit) && !(master->write_byte && master->read_byte && master->reset_bus)) { pr_err("w1_add_master_device: invalid function set\n"); - return(-EINVAL); + return -EINVAL; } /* Lock until the device is added (or not) to w1_masters. */ -- 2.17.1