Skip to content
Commit fa0e85c4 authored by xiaofeng.yan's avatar xiaofeng.yan Committed by Paul Gortmaker
Browse files

hsr: Fix a compilation error



commit 80892772 upstream.

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: 4c2d5e33 ("hsr: rename debugfs file when interface name is changed")
Signed-off-by: default avatarxiaofeng.yan <yanxiaofeng7@jd.com>
Acked-by: default avatarTaehee Yoo <ap420073@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent d075848f
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