Skip to content

Commit

Permalink
mctp: Remove the repeated declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shaokun Zhang authored and David S. Miller committed Aug 25, 2021
1 parent 45bc612 commit 87e5ef4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/net/mctpdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 87e5ef4

Please sign in to comment.