summaryrefslogtreecommitdiff
path: root/include/net/mctpdevice.h
diff options
context:
space:
mode:
authorShaokun Zhang <zhangshaokun@hisilicon.com>2021-08-25 14:34:31 +0800
committerDavid S. Miller <davem@davemloft.net>2021-08-25 11:23:14 +0100
commit87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4 (patch)
tree367ea22d92a0e25696dfef80255aef9db1e729ce /include/net/mctpdevice.h
parent45bc6125d1429b6d9db8595c794b5d71a09fef7d (diff)
mctp: Remove the repeated declaration
Function 'mctp_dev_get_rtnl' is declared twice, so remove the repeated declaration. Cc: Jeremy Kerr <jk@codeconstruct.com.au> Cc: Matt Johnston <matt@codeconstruct.com.au> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/mctpdevice.h')
-rw-r--r--include/net/mctpdevice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/mctpdevice.h b/include/net/mctpdevice.h
index 57e773ff08bb..71a11012fac7 100644
--- a/include/net/mctpdevice.h
+++ b/include/net/mctpdevice.h
@@ -31,6 +31,5 @@ struct mctp_dev {
struct mctp_dev *mctp_dev_get_rtnl(const struct net_device *dev);
struct mctp_dev *__mctp_dev_get(const struct net_device *dev);
-struct mctp_dev *mctp_dev_get_rtnl(const struct net_device *dev);
#endif /* __NET_MCTPDEVICE_H */