[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201106110851.1467a90f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 6 Nov 2020 11:08:51 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Ido Schimmel <idosch@...sch.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, dsahern@...il.com,
jiri@...dia.com, mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com>
Subject: Re: [PATCH net-next 03/18] nexthop: Prepare new notification info
On Wed, 4 Nov 2020 15:30:25 +0200 Ido Schimmel wrote:
> + if (info->is_grp)
> + return nh_notifier_grp_info_init(info, nh);
> + else
> + return nh_notifier_single_info_init(info, nh);
nit: please try to avoid unnecessary else branches, it obviously
doesn't matter but people send patches to refactor this :(
Powered by blists - more mailing lists