Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5008244pxj; Wed, 9 Jun 2021 07:12:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzt7rIC3gb6ueFgpEhaCB6PiQBQZV6qv1WspuiB9A61JG/1v0XEBHPddmtevkp2xaafHKAm X-Received: by 2002:a17:906:994d:: with SMTP id zm13mr32952ejb.427.1623247921609; Wed, 09 Jun 2021 07:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623247921; cv=none; d=google.com; s=arc-20160816; b=lSaYtL19OkIRmB5X9LvyTH92ZxvQfJLMT/picMRljX9JkRFj+qrj2dfbrDhZM39y8c VLWDo+JXnPK27HFecUsTVqgTOilUu6NW/s979ATWkStwY+vcoVb8TTxNsuQP6qwgq8CH kmJ6g70Zr07Gzi7uuE2gU4qYTgzCyvnxFvP76onoyT8zWozyCXzhOdJI4u006mbvgRcY JWFZDz7EIJiBFMMDpBfeKvQF9arvY5gP2Zs4qr/I6Zlglltyi/Z6HlR6A1OF/mN/JD5D uULFW0X4ZC5DaX7CcEFoYcrGSx/lBRrdcWHY7BH2gkAa+mELRqBPFFPpBxIIhz0IpCUk DkHg== 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=eg9fmz3p9fk1NpqNA/1gSFLs3jdXc9W6G9Dx6myZXCs=; b=htJD+5BIcmp2HLXLURNxAs6ydQ+H7nVGLQZNtayulgU0SUEaQrXTN79r8gyIKjVqBd GHYrr7E9LGxIJiFN9QEOFNAbbJV9GIMKd3NvrtywRd5AwBEe3OGuwUlSLzDYta6f2Fvi GgSKF4TwDtRLYCna+bbeK7G+caoXwk7CJyGbfY8J0z70C3fDDDCBm47BMzyJQfTQSAV+ G9P3VS3xg3hyYYJxQGBwNYJVMj/nLZVNHoyqCSHbUpWFuaB+i9pmvJZL0xQJZYlhyrBT wcYhq7O8N4E1XPtbChbtitxsZ/z7lbb0zqpDXGdpjiaSvFzZJwUSe2YMg9ej33nMkUzH afVw== 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 k22si2489828ejc.469.2021.06.09.07.11.37; Wed, 09 Jun 2021 07:12:01 -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 S238195AbhFIJpF (ORCPT + 99 others); Wed, 9 Jun 2021 05:45:05 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:5352 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238174AbhFIJpD (ORCPT ); Wed, 9 Jun 2021 05:45:03 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4G0MWS2MzLz6vlJ; Wed, 9 Jun 2021 17:39:16 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 9 Jun 2021 17:43:04 +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, 9 Jun 2021 17:43:04 +0800 From: Guangbin Huang To: , , , , CC: , , , Subject: [PATCH net-next 4/9] net: lapbether: remove trailing whitespaces Date: Wed, 9 Jun 2021 17:39:50 +0800 Message-ID: <1623231595-33851-5-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1623231595-33851-1-git-send-email-huangguangbin2@huawei.com> References: <1623231595-33851-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) 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 This patch removes trailing whitespaces. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/lapbether.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index e5ae043..169b323 100644 --- a/drivers/net/wan/lapbether.c +++ b/drivers/net/wan/lapbether.c @@ -6,7 +6,7 @@ * * This is a "pseudo" network driver to allow LAPB over Ethernet. * - * This driver can use any ethernet destination address, and can be + * This driver can use any ethernet destination address, and can be * limited to accept frames from one dedicated ethernet card only. * * History @@ -72,7 +72,7 @@ static struct lapbethdev *lapbeth_get_x25_dev(struct net_device *dev) struct lapbethdev *lapbeth; list_for_each_entry_rcu(lapbeth, &lapbeth_devices, node, lockdep_rtnl_is_held()) { - if (lapbeth->ethdev == dev) + if (lapbeth->ethdev == dev) return lapbeth; } return NULL; @@ -468,7 +468,7 @@ static int lapbeth_device_event(struct notifier_block *this, case NETDEV_GOING_DOWN: /* ethernet device closes -> close LAPB interface */ lapbeth = lapbeth_get_x25_dev(dev); - if (lapbeth) + if (lapbeth) dev_close(lapbeth->axdev); break; case NETDEV_UNREGISTER: -- 2.8.1