aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaokun Zhang <[email protected]>2021-08-25 14:34:31 +0800
committerDavid S. Miller <[email protected]>2021-08-25 11:23:14 +0100
commit87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4 (patch)
tree367ea22d92a0e25696dfef80255aef9db1e729ce
parent45bc6125d1429b6d9db8595c794b5d71a09fef7d (diff)
mctp: Remove the repeated declaration
Function 'mctp_dev_get_rtnl' is declared twice, so remove the repeated declaration. Cc: Jeremy Kerr <[email protected]> Cc: Matt Johnston <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Signed-off-by: Shaokun Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
-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 */