diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2021-08-25 08:34:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-25 12:23:14 +0200 |
commit | 87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4 (patch) | |
tree | 367ea22d92a0e25696dfef80255aef9db1e729ce /include | |
parent | Merge tag 'linux-can-next-for-5.15-20210825' of git://git.kernel.org/pub/scm/... (diff) | |
download | linux-87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4.tar.xz 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.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 */ |