]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mctp: Remove the repeated declaration
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Wed, 25 Aug 2021 06:34:31 +0000 (14:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2021 10:23:14 +0000 (11:23 +0100)
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>
include/net/mctpdevice.h

index 57e773ff08bb5660211cd7a5079645aa525ac4d8..71a11012fac7c4cf5b5ea22b79c7b40ca941fb4c 100644 (file)
@@ -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 */