Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2198584ybv; Mon, 24 Feb 2020 00:54:56 -0800 (PST) X-Google-Smtp-Source: APXvYqznaA6Rl+kv1iobc+RzW17JDPvHDbQOGcvW8glHvYYu/c7feRg/bWjqrG1rgLOWJlXDqZW/ X-Received: by 2002:a05:6830:1050:: with SMTP id b16mr39724391otp.140.1582534495904; Mon, 24 Feb 2020 00:54:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582534495; cv=none; d=google.com; s=arc-20160816; b=nZtM4WCwpEx91LBuvnBEOYNZ84nv7Nj4Bq6anO/3gA3a1S3opsPkr17NeZKmzFWo1S ZNJlVyZgKVfrrw6nOdSHhOFCco5bJH/rPhas54iFIL2eU7oq+/DbCKXTNYodIimKsmiC 7e9VcSWF4PbUqmnzsUzc9+SvvhuTGK7uIr/G77U4xUI8/FnU+GL1OLKDazh4Te1b+ZcO uXF0SuNB/RHFxROkY45eHumDRqggVor0xcCr1dgiuD7Kz272npfzRXtMmXcgPMrnuuNH yDYbep/C0+TmFAxf4DxbyDwRgl2ZgC7r1uZeS52aVdGuvepw7I2rCGl8+CP160m4rRn/ 3GPQ== 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=u9Cj+lR2StJSOekpasJdh4ySbJcp4xjAeoZlvZCkvn0=; b=s0lTp8fI909I4HoJ3u1JymgS4IkPlDhLAV0yTktkDvHcInFvbjpr8jMzoPP97EicUT DHFXTwjH8rPDXVco0iyMFnKK6BvVU/TT44Xq4A2l1jjIm89bK6A11modOMRuaqE331fd D8i1Tmr7d2iBqe0OAD+M4b0zLVs8suAFr1k/hgH3+w3PMx6MgUnzxo2Qhosg+DE0iOd+ Y7jYDfD3ymYcNNTkFZuQlXeC5y8KQ32lg4SNYlnDIlKJy28ubHrRd4kVaK2pjjHpCAfF 8+IDYpW60b3U46iHvzMBWiuwxQhtOg7OwJP/2TY2Ti5iDdmdCjVaqVBGU0ywb1zCkLq+ BzIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JJTAeR9a; 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 y144si4973718oia.67.2020.02.24.00.54.44; Mon, 24 Feb 2020 00:54:55 -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=JJTAeR9a; 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 S1727940AbgBXIyX (ORCPT + 99 others); Mon, 24 Feb 2020 03:54:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:38186 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727922AbgBXIyT (ORCPT ); Mon, 24 Feb 2020 03:54:19 -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 71FB02467B; Mon, 24 Feb 2020 08:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582534459; bh=7CICMqnQF7xoeXIcHQwwcYQyrJAiXAKQVpcrdIOkVs0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JJTAeR9ayq/7gpoqTs0ucBNF6RjjiUfWLGqKFQotgasYidscHQDypnj0noNXhKuKc 6YxHl2uZXwI/55RAxsonoICXoxR/Cq8iThS3AjjsrqmiMVnXhJE7YCa8lrIqA7YrNl 4Iry43nvcx2moeiY/pbbjrYEsj5hBFt4fSWZRu10= 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 09/18] net/allwinner: Remove driver version Date: Mon, 24 Feb 2020 10:53:02 +0200 Message-Id: <20200224085311.460338-10-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 There is no need in custom driver version for in-tree code. Signed-off-by: Leon Romanovsky --- drivers/net/ethernet/allwinner/sun4i-emac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/allwinner/sun4i-emac.c b/drivers/net/ethernet/allwinner/sun4i-emac.c index 22cadfbeedfb..18d3b4340bd4 100644 --- a/drivers/net/ethernet/allwinner/sun4i-emac.c +++ b/drivers/net/ethernet/allwinner/sun4i-emac.c @@ -33,7 +33,6 @@ #include "sun4i-emac.h" #define DRV_NAME "sun4i-emac" -#define DRV_VERSION "1.02" #define EMAC_MAX_FRAME_LEN 0x0600 @@ -212,7 +211,6 @@ static void emac_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)); strlcpy(info->bus_info, dev_name(&dev->dev), sizeof(info->bus_info)); } -- 2.24.1