Skip to content

Commit b9ae512

Browse files
arndbdavem330
authored andcommitted
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: 4c2d5e3 ("hsr: rename debugfs file when interface name is changed") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 7c7b58d commit b9ae512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/hsr/hsr_main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ void hsr_debugfs_term(struct hsr_priv *priv);
191191
void hsr_debugfs_create_root(void);
192192
void hsr_debugfs_remove_root(void);
193193
#else
194-
static inline void void hsr_debugfs_rename(struct net_device *dev)
194+
static inline void hsr_debugfs_rename(struct net_device *dev)
195195
{
196196
}
197197
static inline void hsr_debugfs_init(struct hsr_priv *priv,

0 commit comments

Comments
 (0)