[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220217203948.7eb7835e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 17 Feb 2022 20:39:48 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Simon Horman <simon.horman@...igine.com>
Cc: David Miller <davem@...emloft.net>,
Baowen Zheng <baowen.zheng@...igine.com>,
Louis Peens <louis.peens@...igine.com>, netdev@...r.kernel.org,
oss-drivers@...igine.com
Subject: Re: [PATCH net-next 2/6] nfp: add support to offload tc action to
hardware
On Thu, 17 Feb 2022 11:56:48 +0100 Simon Horman wrote:
> + if (add)
> + return 0;
> + else
> + return -EOPNOTSUPP;
return add ? 0 : -EOPNOTSUPP;
or at least remove the else, everything after if () return; is in an
'else' branch.
Powered by blists - more mailing lists