[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170221.121944.270327711690814852.davem@davemloft.net>
Date: Tue, 21 Feb 2017 12:19:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tklauser@...tanz.ch
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] rtnl: simplify error return path in rtnl_create_link()
From: Tobias Klauser <tklauser@...tanz.ch>
Date: Mon, 20 Feb 2017 16:32:06 +0100
> There is only one possible error path which reaches the err label, so
> return ERR_PTR(-ENOMEM) directly if alloc_netdev_mqs() fails. This also
> allows to omit the err variable.
>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Applied.
Powered by blists - more mailing lists