Commit b9ae5127 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller

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: 4c2d5e33 ("hsr: rename debugfs file when interface name is changed")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7c7b58d4
...@@ -191,7 +191,7 @@ void hsr_debugfs_term(struct hsr_priv *priv); ...@@ -191,7 +191,7 @@ void hsr_debugfs_term(struct hsr_priv *priv);
void hsr_debugfs_create_root(void); void hsr_debugfs_create_root(void);
void hsr_debugfs_remove_root(void); void hsr_debugfs_remove_root(void);
#else #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, static inline void hsr_debugfs_init(struct hsr_priv *priv,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment