]> git.baikalelectronics.ru Git - kernel.git/commit
hsr: fix dummy hsr_debugfs_rename() declaration
authorArnd Bergmann <arnd@arndb.de>
Tue, 7 Jan 2020 20:03:39 +0000 (21:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jan 2020 21:09:54 +0000 (13:09 -0800)
commit1167e28ba44c669853a69fe2e406da5ccbe5e015
tree0d998dd754bfa36db7a66cd118bb68818a2f8a15
parent18c940c820586e3b5751619c0f4df89447e4af82
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: a77535c7a2d3 ("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>
net/hsr/hsr_main.h