Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp298716pxj; Wed, 16 Jun 2021 02:39:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYbCcy3UOl9wSDDf5vmwlIuU1YWBFUE3hT1BUdww03EFmqXE2kQVNY/CrVHIq0TNmqmXnz X-Received: by 2002:a05:6e02:1ca8:: with SMTP id x8mr3028782ill.163.1623836393054; Wed, 16 Jun 2021 02:39:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623836393; cv=none; d=google.com; s=arc-20160816; b=ZK0b2uL3le/GzrYI71qQ+ANKS7sqXD0JFrXbOcvrnR+ch1M4kc0iw6OCkunDDVwztq RbAO7MOaGL47NVHBnbJCc3FDSaACoT9+WQEkPzahqZdUnSO3/A2DhJThDGTM9UWsCP1f EQvpkwumxNNiY5Jqf+Q1YnEjjkgsOkY8EYmTgU7GzcQIZmliBTefPIcjozv1N5IvvH48 UfoIs7US0ECyHx5QAbG+ujiKML82I/71IBmzXgfEKYf+LF8kAH90s89TfFVNrj4ChThR vEUaYPi7KwsfmmAskS5l36RqtnSM4iusgafCkSi0cRlLvxRNNvyiR5AUpq+JICBKrieU 9rgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=u7WX4ARunNR7zYALK5mD/ApZCBoGDiu0ni3qhw5WXJs=; b=eT3zTpfpzG4fE3p1iHVElt9Mieb1lQX5F5/9yzu3KFZkejkzDzmteBkLUKub8y58di XMPNjTiPLg4FJQWMeL8UQRxYHmKSjOQDxgopsXjjIp2OTzXRX22LwhdggbwOajCtvcjS l3ohmO4sLrkDw4TF1Frtw8dbb1U75CdTngeKji1T5hBWhnnNqAXolcRHgHUSypybUXly WJXTTsKDkfFAYv1eAlrF8x6RV9/NVGEdX13ettmM+eyVF8ReRuGDOj4/uBrE9DpjN+gw IljVjSclYgbm8jXYndk5bWLDKD1LoJAm941royKZwij9wJcrmgXMC70Rpn38DBI2T+tF /0xA== 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 w29si2261460jap.40.2021.06.16.02.39.41; Wed, 16 Jun 2021 02:39:53 -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 S232424AbhFPJjq (ORCPT + 99 others); Wed, 16 Jun 2021 05:39:46 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:4946 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232025AbhFPJjR (ORCPT ); Wed, 16 Jun 2021 05:39:17 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G4g486dZMz70ST; Wed, 16 Jun 2021 17:34:00 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 16 Jun 2021 17:37:10 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 16 Jun 2021 17:37:10 +0800 From: Guangbin Huang To: , , , , CC: , , , Subject: [PATCH net-next 7/8] net: hdlc_ppp: remove redundant spaces Date: Wed, 16 Jun 2021 17:33:56 +0800 Message-ID: <1623836037-26812-8-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1623836037-26812-1-git-send-email-huangguangbin2@huawei.com> References: <1623836037-26812-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Li According to the chackpatch.pl, no spaces is necessary at the start of a line. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/hdlc_ppp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wan/hdlc_ppp.c b/drivers/net/wan/hdlc_ppp.c index 7b7c02d..53c668e 100644 --- a/drivers/net/wan/hdlc_ppp.c +++ b/drivers/net/wan/hdlc_ppp.c @@ -34,8 +34,8 @@ enum {IDX_LCP = 0, IDX_IPCP, IDX_IPV6CP, IDX_COUNT}; enum {CP_CONF_REQ = 1, CP_CONF_ACK, CP_CONF_NAK, CP_CONF_REJ, CP_TERM_REQ, - CP_TERM_ACK, CP_CODE_REJ, LCP_PROTO_REJ, LCP_ECHO_REQ, LCP_ECHO_REPLY, - LCP_DISC_REQ, CP_CODES}; + CP_TERM_ACK, CP_CODE_REJ, LCP_PROTO_REJ, LCP_ECHO_REQ, LCP_ECHO_REPLY, + LCP_DISC_REQ, CP_CODES}; #if DEBUG_CP static const char *const code_names[CP_CODES] = { "0", "ConfReq", "ConfAck", "ConfNak", "ConfRej", "TermReq", @@ -80,11 +80,11 @@ struct ppp { }; enum {CLOSED = 0, STOPPED, STOPPING, REQ_SENT, ACK_RECV, ACK_SENT, OPENED, - STATES, STATE_MASK = 0xF}; + STATES, STATE_MASK = 0xF}; enum {START = 0, STOP, TO_GOOD, TO_BAD, RCR_GOOD, RCR_BAD, RCA, RCN, RTR, RTA, - RUC, RXJ_GOOD, RXJ_BAD, EVENTS}; + RUC, RXJ_GOOD, RXJ_BAD, EVENTS}; enum {INV = 0x10, IRC = 0x20, ZRC = 0x40, SCR = 0x80, SCA = 0x100, - SCN = 0x200, STR = 0x400, STA = 0x800, SCJ = 0x1000}; + SCN = 0x200, STR = 0x400, STA = 0x800, SCJ = 0x1000}; #if DEBUG_STATE static const char *const state_names[STATES] = { -- 2.8.1