team: Simplify return path of team_newlink
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Tue, 5 Aug 2014 06:58:50 +0000 (15:58 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Aug 2014 23:37:51 +0000 (16:37 -0700)
commitff204cce75d75678bf75fdd48c4c89fa30c555d3
tree0310d1dd0881cd9de93ff0c40bb7ed4b03075841
parentfdb0a6626e8ef99fda8c30971c59ba51321dbab9
team: Simplify return path of team_newlink

The variable "err" is not necessary.
Return register_netdevice() directly.

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c