From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: [PATCH net] ipv6: route: remove duplicated string from error message Date: Sat, 12 Jan 2019 12:45:11 -0800 Message-ID: <20190112204511.24710-1-jakub.kicinski@netronome.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: netdev@vger.kernel.org, Jakub Kicinski To: davem@davemloft.net Return-path: Received: from mail-qt1-f196.google.com ([209.85.160.196]:37704 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725883AbfALUp0 (ORCPT ); Sat, 12 Jan 2019 15:45:26 -0500 Received: by mail-qt1-f196.google.com with SMTP id t33so22640837qtt.4 for ; Sat, 12 Jan 2019 12:45:26 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: "IPv6: " prefix is already added by pr_fmt, no need to include it again in the pr_warn() format. Signed-off-by: Jakub Kicinski --- net/ipv6/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 49117a72fcad..06708f0070cf 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -4256,7 +4256,7 @@ static void ip6_print_replace_route_err(struct list_head *rt6_nh_list) struct rt6_nh *nh; list_for_each_entry(nh, rt6_nh_list, next) { - pr_warn("IPV6: multipath route replace failed (check consistency of installed routes): %pI6c nexthop %pI6c ifi %d\n", + pr_warn("multipath route replace failed (check consistency of installed routes): %pI6c nexthop %pI6c ifi %d\n", &nh->r_cfg.fc_dst, &nh->r_cfg.fc_gateway, nh->r_cfg.fc_ifindex); } -- 2.19.2