Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2197833ybv; Mon, 24 Feb 2020 00:53:51 -0800 (PST) X-Google-Smtp-Source: APXvYqzJ4dw69CjW6hLmPIl9FCkxECF0us6DKdxwFJ08cKfTuXCpqhQlJe5A0xwy6QMHtfSyFVoa X-Received: by 2002:aca:5303:: with SMTP id h3mr11262365oib.109.1582534430914; Mon, 24 Feb 2020 00:53:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582534430; cv=none; d=google.com; s=arc-20160816; b=kTR3HpvUCTslI/FGcR9gyc0gnWUKJ2x8su/2FIkrC6QFKmgHsK/ftYIBKR75SNgro5 KAiZVEaHjS3PI9H6My4WQX9S5L5/qqRsJMeCCTZNElq0APotz4Y6UmltM1F47iAp8sNV 9s9rRyVB/5laiZjAS1HSsgvHidtdbsb1Bb49ts379rgC/Ocu+0U05pqMGUcr/e3ep1LA fVHfioqldRTTxpO66tfB4SlM+Kk3RkcsgYHfIQnM8W4wGZlgpcdjgnzjVWr6Q52RvJAJ tzWM+cw/sgNR+Oeh/6hL3B1PFoO1HO3kWRlKU8uQq8E9OcJewyoeJEjQI21xfE+8tOmm CLsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=F1CBtRZYkLEgL6sf1oVT26xeFJ4haG18wDcYEuEX9DQ=; b=uy7JqEyO4M2fiJqoDoIPBiVZHRWI9Qc2LkX9S1H2RTxU1wqw3NdIH5hgr4SolLl6Mr 4iSmYr1oIHIzALdB1TonkqXEDc1xnqUVgJcytaKU2YIfmDHiW8Qnw/rCftCANbmU5eK1 gwKlTd16mG8TzMGI4HUCN/T9SK2HBuYc8VAAQV/b2IqotNACfynm6G7ftyOUkDVftoAv 4OSPVFO6IrOYz28E9uRcCENT1zqLcO0ejV112aC+igsj1my9WoxqMG7EeMFzHNV4QjF6 PNPF8l92Nsv55PARPNrTGLBhPJP62Qp52KMoc+5BPbF8ePNGgmyIPYdnZ7UoytOK/FLf FFUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=e63QLvxy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f141si4716258oib.125.2020.02.24.00.53.38; Mon, 24 Feb 2020 00:53:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=e63QLvxy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727329AbgBXIx0 (ORCPT + 99 others); Mon, 24 Feb 2020 03:53:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:36226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726452AbgBXIxZ (ORCPT ); Mon, 24 Feb 2020 03:53:25 -0500 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8CE692082E; Mon, 24 Feb 2020 08:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582534404; bh=u4B7Vto/10BbegPDSJEemPSvyjrazEXATWOFgauUrqU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e63QLvxyXaIDOP1R9CuGFUDzaQ1ji5kYXsnE+JQZiUXwNcRRPfVvaAc85BnTjPTZs UKQ+ZacCVO+gPjOWVMV9PctUgl6HXLEz9MKtUyD5LG3otHlH0n+2vB+HMZWlyqoPxg CIj2dThM7kbJ431fBpp0Jf8g9pZ8Iij5XPnJLwQ0= From: Leon Romanovsky To: "David S. Miller" , Jakub Kicinski Cc: Leon Romanovsky , Tom Lendacky , Keyur Chudgar , Don Fry , Veaceslav Falico , Jay Vosburgh , linux-acenic@sunsite.dk, Maxime Ripard , Heiko Stuebner , Mark Einon , Chris Snook , linux-rockchip@lists.infradead.org, Iyappan Subramanian , Igor Russkikh , David Dillow , Netanel Belgazal , Quan Nguyen , Jay Cliburn , Lino Sanfilippo , linux-arm-kernel@lists.infradead.org, Andreas Larsson , Andy Gospodarek , netdev@vger.kernel.org, Thor Thayer , linux-kernel@vger.kernel.org, Ion Badulescu , Arthur Kiyanovski , Jes Sorensen , nios2-dev@lists.rocketboards.org, Chen-Yu Tsai Subject: [PATCH net-next v1 02/18] net/dummy: Ditch driver and module versions Date: Mon, 24 Feb 2020 10:52:55 +0200 Message-Id: <20200224085311.460338-3-leon@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200224085311.460338-1-leon@kernel.org> References: <20200224085311.460338-1-leon@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leon Romanovsky Delete constant driver and module versions in favor of standard global version which is unique to whole kernel. Signed-off-by: Leon Romanovsky --- drivers/net/dummy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c index 3031a5fc5427..bab3a9bb5e6f 100644 --- a/drivers/net/dummy.c +++ b/drivers/net/dummy.c @@ -42,7 +42,6 @@ #include #define DRV_NAME "dummy" -#define DRV_VERSION "1.0" static int numdummies = 1; @@ -104,7 +103,6 @@ static void dummy_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) { strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); - strlcpy(info->version, DRV_VERSION, sizeof(info->version)); } static const struct ethtool_ops dummy_ethtool_ops = { @@ -212,4 +210,3 @@ module_init(dummy_init_module); module_exit(dummy_cleanup_module); MODULE_LICENSE("GPL"); MODULE_ALIAS_RTNL_LINK(DRV_NAME); -MODULE_VERSION(DRV_VERSION); -- 2.24.1