aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Shaokun Zhang <zhangshaokun@hisilicon.com> 2021-08-25 14:34:31 +0800
committerGravatar David S. Miller <davem@davemloft.net> 2021-08-25 11:23:14 +0100
commit87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4 (patch)
tree367ea22d92a0e25696dfef80255aef9db1e729ce /include
parentMerge tag 'linux-can-next-for-5.15-20210825' of git://git.kernel.org/pub/scm/... (diff)
downloadlinux-87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4.tar.gz
linux-87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4.tar.bz2
linux-87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4.zip
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')
-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 */