Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1237082 > unrolled thread

[RFC PATCH] net: encx24j600_open() can be static

Started bykbuild test robot <lkp@intel.com>
First post2015-10-01 09:40 +0200
Last post2015-10-01 09:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFC PATCH] net: encx24j600_open() can be static kbuild test robot <lkp@intel.com> - 2015-10-01 09:40 +0200

#1237082 — [RFC PATCH] net: encx24j600_open() can be static

Fromkbuild test robot <lkp@intel.com>
Date2015-10-01 09:40 +0200
Subject[RFC PATCH] net: encx24j600_open() can be static
Message-ID<qeGD7-5vh-7@gated-at.bofh.it>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 encx24j600.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/microchip/encx24j600.c b/drivers/net/ethernet/microchip/encx24j600.c
index 27065ec..b7cb168 100644
--- a/drivers/net/ethernet/microchip/encx24j600.c
+++ b/drivers/net/ethernet/microchip/encx24j600.c
@@ -772,7 +772,7 @@ static int encx24j600_set_mac_address(struct net_device *dev, void *addr)
 	return encx24j600_set_hw_macaddr(dev);
 }
 
-int encx24j600_open(struct net_device *dev)
+static int encx24j600_open(struct net_device *dev)
 {
 	struct encx24j600_priv *priv = netdev_priv(dev);
 
@@ -793,7 +793,7 @@ int encx24j600_open(struct net_device *dev)
 	return 0;
 }
 
-int encx24j600_stop(struct net_device *dev)
+static int encx24j600_stop(struct net_device *dev)
 {
 	struct encx24j600_priv *priv = netdev_priv(dev);
 
@@ -894,7 +894,7 @@ static netdev_tx_t encx24j600_tx(struct sk_buff *skb, struct net_device *dev)
 }
 
 /* Deal with a transmit timeout */
-void encx24j600_tx_timeout(struct net_device *dev)
+static void encx24j600_tx_timeout(struct net_device *dev)
 {
 	struct encx24j600_priv *priv = netdev_priv(dev);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web