summaryrefslogtreecommitdiff
path: root/net/hsr
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-01-07 21:03:39 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-08 13:09:54 -0800
commitb9ae51273655a72a12fba730843fd72fb132735a (patch)
tree0d998dd754bfa36db7a66cd118bb68818a2f8a15 /net/hsr
parent7c7b58d46b7636ff3cfb01cc633dda852fda70c8 (diff)
downloadlwn-b9ae51273655a72a12fba730843fd72fb132735a.tar.gz
lwn-b9ae51273655a72a12fba730843fd72fb132735a.zip
hsr: fix dummy hsr_debugfs_rename() declaration
The hsr_debugfs_rename prototype got an extra 'void' that needs to be removed again: In file included from /git/arm-soc/net/hsr/hsr_main.c:12: net/hsr/hsr_main.h:194:20: error: two or more data types in declaration specifiers static inline void void hsr_debugfs_rename(struct net_device *dev) Fixes: 4c2d5e33dcd3 ("hsr: rename debugfs file when interface name is changed") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr')
-rw-r--r--net/hsr/hsr_main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/hsr/hsr_main.h b/net/hsr/hsr_main.h
index d40de84a637f..754d84b217f0 100644
--- a/net/hsr/hsr_main.h
+++ b/net/hsr/hsr_main.h
@@ -191,7 +191,7 @@ void hsr_debugfs_term(struct hsr_priv *priv);
void hsr_debugfs_create_root(void);
void hsr_debugfs_remove_root(void);
#else
-static inline void void hsr_debugfs_rename(struct net_device *dev)
+static inline void hsr_debugfs_rename(struct net_device *dev)
{
}
static inline void hsr_debugfs_init(struct hsr_priv *priv,