Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp236586pxj; Thu, 10 Jun 2021 20:41:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzj8jfwiaJEYMi1V8OyObI4E/IO9dQd02708LRLJaOJxFH4vWkn7J9mdaixRUn2u4d/htDy X-Received: by 2002:a17:906:1792:: with SMTP id t18mr1532531eje.38.1623382911686; Thu, 10 Jun 2021 20:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623382911; cv=none; d=google.com; s=arc-20160816; b=SwMWsHLNMCBrIsQSXFGurfpTzJzqEmswVsF41cNQFxIm2qqw9Elhb57s6XKCEVM0J6 POe0pp1G68+BTDgCXM43U/bJkOywF/Z2v+jSoPikXsd5iqLcbJ6NBQ3yVStfiUcrhALE zGtAnyLT5hxV7ukH+ZvH4O54cPgRfR3V9vGlkrezukznEows+IvVnOF29dTXZxXdqGr/ P/jf+tt0I4kBuZtl5dXjuI2kO+7Kxzfb3eSLua0TOXQsNivXG46Lt3kRp8TgnP4XSZd5 zcb+0r/rTVlfSWoY65krraEPWhD8LWtqqISrxXwuVQiBmgrN0pJi7Phh96zSxUeJvZsB +1OQ== 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=FJeqr6y/cqsft646MDx5F0JO9XZD/egn+Io8NqBXEiE=; b=a4qBYbI4XZIM4jqFUkXMEi9A1E1LNH7M2Hq7qjnVwruqwpvo8bld5EBx1Pkdj3pZ4v I6u3eJ7oYdRMQhMM0Ni6GriQ5FpUQqfrtgIpkoXgnX3VjGvL4TamY2ZW4WdwVZkXAkxU 5FpaHeMoOMqU8m8qcKWqMmQcjA1E9+c6L4pycFOC+jI9WtPxx9YiFJaumcVaPJJ0HaVS 0UYczpxcXCbA8yMXVoKi2bkRDJbZFMA5VR8ThMFOaG1WqFkbBiL+dxUy8Jg569SnkFRa F7l0CjMlZ/U5H0z+uPi37qWncQ6hIi82H0w333R7RkXpXd5jQNdwp6SEDUmeq4LKboPF +91w== 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 o8si4325745ejj.94.2021.06.10.20.41.28; Thu, 10 Jun 2021 20:41:51 -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 S231560AbhFKDlg (ORCPT + 99 others); Thu, 10 Jun 2021 23:41:36 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:3951 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231487AbhFKDlb (ORCPT ); Thu, 10 Jun 2021 23:41:31 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G1RMv3Nx0z6x9k; Fri, 11 Jun 2021 11:36:27 +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; Fri, 11 Jun 2021 11:39:32 +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; Fri, 11 Jun 2021 11:39:32 +0800 From: Guangbin Huang To: , , , , CC: , , , Subject: [PATCH net-next 5/8] net: pc300too: remove redundant initialization for statics Date: Fri, 11 Jun 2021 11:36:19 +0800 Message-ID: <1623382582-37854-6-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1623382582-37854-1-git-send-email-huangguangbin2@huawei.com> References: <1623382582-37854-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 Should not initialise statics to 0. Signed-off-by: Peng Li --- drivers/net/wan/pc300too.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c index 7d8eae5..56f7d96 100644 --- a/drivers/net/wan/pc300too.c +++ b/drivers/net/wan/pc300too.c @@ -44,7 +44,7 @@ #define MAX_TX_BUFFERS 10 static int pci_clock_freq = 33000000; -static int use_crystal_clock = 0; +static int use_crystal_clock; static unsigned int CLOCK_BASE; /* Masks to access the init_ctrl PLX register */ -- 2.8.1