]> git.baikalelectronics.ru Git - kernel.git/commit
hsr: Fix a compilation error
authorxiaofeng.yan <yanxiaofeng7@jd.com>
Mon, 20 Jan 2020 06:26:39 +0000 (14:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2020 12:18:40 +0000 (13:18 +0100)
commitd06298ffac9b413fbbcd538fe69ceef3302179b1
treed0f5399282139ea7af8bf6346e8917741716f2ac
parent0761db85e89b66c33b34b63857a06a93298f5a5a
hsr: Fix a compilation error

A compliation error happen when building branch 5.5-rc7

In file included from net/hsr/hsr_main.c:12:0:
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)

So Removed one void.

Fixes: a77535c7a2d3 ("hsr: rename debugfs file when interface name is changed")
Signed-off-by: xiaofeng.yan <yanxiaofeng7@jd.com>
Acked-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_main.h