Tobias Klauser d1892e4ec9 rtnl: simplify error return path in rtnl_create_link()
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@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-21 12:17:43 -05:00
..
2017-02-07 11:19:00 -05:00
2017-02-07 13:07:47 -05:00
2015-11-22 11:54:10 -05:00
2016-11-16 18:32:02 -05:00
2017-01-12 15:57:10 -05:00
2017-02-07 13:07:46 -05:00
2016-11-14 13:17:21 -05:00
2015-10-26 22:24:22 -07:00