From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: "David S. Miller" <davem@davemloft.net>, netdev@vger.kernel.org
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [PATCH v1 6/7] enc28j60: Remove linux/init.h
Date: Thu, 28 Feb 2019 23:34:34 +0300 [thread overview]
Message-ID: <20190228203435.88702-6-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <20190228203435.88702-1-andriy.shevchenko@linux.intel.com>
There is no need to include linux/init.h when at the same time
we include linux/module.h.
Remove redundant inclusion.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/net/ethernet/microchip/enc28j60.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/microchip/enc28j60.c b/drivers/net/ethernet/microchip/enc28j60.c
index ad3748de972a..133b5beb3749 100644
--- a/drivers/net/ethernet/microchip/enc28j60.c
+++ b/drivers/net/ethernet/microchip/enc28j60.c
@@ -21,7 +21,6 @@
#include <linux/property.h>
#include <linux/string.h>
#include <linux/errno.h>
-#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
--
2.20.1
next prev parent reply other threads:[~2019-02-28 20:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 20:34 [PATCH v1 1/7] enc28j60: Use device_get_mac_address() Andy Shevchenko
2019-02-28 20:34 ` [PATCH v1 2/7] enc28j60: Remove duplicate messaging Andy Shevchenko
2019-02-28 20:34 ` [PATCH v1 3/7] enc28j60: Replace dev_*(&netdev->dev, ...) with netdev_*() Andy Shevchenko
2019-02-28 20:34 ` [PATCH v1 4/7] enc28j60: Drop driver name duplication from messages Andy Shevchenko
2019-02-28 20:34 ` [PATCH v1 5/7] enc28j60: Switch to use module_spi_driver() macro Andy Shevchenko
2019-02-28 20:34 ` Andy Shevchenko [this message]
2019-02-28 20:34 ` [PATCH v1 7/7] enc28j60: Convert to use SPDX identifier Andy Shevchenko
2019-03-02 5:46 ` [PATCH v1 1/7] enc28j60: Use device_get_mac_address() David Miller
2019-03-02 5:56 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190228203435.88702-6-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).