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-01-22 16:46:13 -05:00
2016-12-03 23:54:25 -05:00
2016-12-25 17:21:22 +01:00
2017-02-10 14:31:51 -05:00
2017-02-20 11:13:37 -05:00
2017-01-24 11:07:35 +01:00
2017-02-20 10:26:09 -05:00
2017-02-10 14:31:51 -05:00