From patchwork Tue Dec 8 08:49:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Enrico Weigelt, metux IT consult" X-Patchwork-Id: 340265 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 859F4C4361B for ; Tue, 8 Dec 2020 08:52:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4909223A7D for ; Tue, 8 Dec 2020 08:52:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728520AbgLHIvz (ORCPT ); Tue, 8 Dec 2020 03:51:55 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:39681 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728512AbgLHIvy (ORCPT ); Tue, 8 Dec 2020 03:51:54 -0500 Received: from orion.localdomain ([95.117.39.192]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MuDLZ-1jsNl916uj-00uX3P; Tue, 08 Dec 2020 09:49:14 +0100 From: "Enrico Weigelt, metux IT consult" To: linux-kernel@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org Subject: [PATCH] net: 8021q: vlan: reduce noise in driver initialization Date: Tue, 8 Dec 2020 09:49:12 +0100 Message-Id: <20201208084912.20949-1-info@metux.net> X-Mailer: git-send-email 2.11.0 X-Provags-ID: V03:K1:u/NqGZSnUD2+T9ooHNSky1mY6yEspYgStNGc0UKP62/LyrygxgX CMLPSJR2MW5KKlhYWQUCzY79MDqB3xJasAvcOWyt719ryMEZLqDPTZhXPNmtSsY1JpCZnaN jPvnp5z8dni4VoqMbuCA4g8/yAIFLTDRw31dAayUyFMWAtbm7jKn6cC5ODnehCXpGPL48mq Q4L5Dx8mN4oXUFuBQP9RQ== X-UI-Out-Filterresults: notjunk:1; V03:K0:1VQV3dkUVGY=:Mif1RSRLfYd57saG2d+UJx cuHN4Nc905Vpe2X0ejHif99kvfBuqNdtYxt1SgMeXK33xYdR2CvX7mxUPc/MZc9vOCfGEDD2s fUj/Vzhd+1XjDbpPSD1LgljPuFel8gLZ+XFY8w9WfEcGlAoHh7PYZjQxGHl/dC79afcZfKEOr ZT5xaqB4xToAJg1eMDeBSePELNPCmKoHnLHFhHKVr+a43YhFGhNwCs1TwTfaKmHVZMExQnMZ5 d9AX615vE6GIEEFunh01C3f0yhl7BlOJCUs3NN+ytWsjDTJRwlugER60o9cKhlsC6z7/aJ+BJ 31NpiBRvDNtZ8fvImRFi53nls7JrjEu1mefQRCOkd4m4tFvIYn8f3muBW+VtRjLCtfBG2TINo laiMDxtlKlRPJXMUL1Qon8pv/360/DLvCCX8J9xplZoWVkaWq0oYzXqz6gbGp Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org If drivers work properly, they should be silent. Thus remove the unncessary noise von initialization. Signed-off-by: Enrico Weigelt, metux IT consult Reported-by: kernel test robot --- net/8021q/vlan.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index f292e0267bb9..9f4b1b9a37e4 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c @@ -42,9 +42,6 @@ unsigned int vlan_net_id __read_mostly; -const char vlan_fullname[] = "802.1Q VLAN Support"; -const char vlan_version[] = DRV_VERSION; - /* End of global variables definitions. */ static int vlan_group_prealloc_vid(struct vlan_group *vg, @@ -687,8 +684,6 @@ static int __init vlan_proto_init(void) { int err; - pr_info("%s v%s\n", vlan_fullname, vlan_version); - err = register_pernet_subsys(&vlan_net_ops); if (err < 0) goto err0;