From: Shaokun Zhang Date: Wed, 25 Aug 2021 06:34:31 +0000 (+0800) Subject: mctp: Remove the repeated declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=87e5ef4b19cec86c861e3ebab3a5d840ecc2f4a4;p=linux.git mctp: Remove the repeated declaration Function 'mctp_dev_get_rtnl' is declared twice, so remove the repeated declaration. Cc: Jeremy Kerr Cc: Matt Johnston Cc: "David S. Miller" Cc: Jakub Kicinski Signed-off-by: Shaokun Zhang Signed-off-by: David S. Miller --- diff --git a/include/net/mctpdevice.h b/include/net/mctpdevice.h index 57e773ff08bb5..71a11012fac7c 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 */