diff options
author | Shaokun Zhang | 2021-08-25 14:34:31 +0800 |
---|---|---|
committer | David S. Miller | 2021-08-25 11:23:14 +0100 |
commit | 87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4 (patch) | |
tree | 367ea22d92a0e25696dfef80255aef9db1e729ce /include/net | |
parent | 45bc6125d1429b6d9db8595c794b5d71a09fef7d (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')
-rw-r--r-- | include/net/mctpdevice.h | 1 |
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 */ |