net: fs_enet: Simplify code
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Fri, 10 Feb 2017 20:17:19 +0000 (21:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 03:24:31 +0000 (22:24 -0500)
commite9ea828f62891ca91e3f80bf4a438f337d59977d
tree7354e33c49e906b5fb9597607b68016e6be6342d
parent1f8f1e89e0183e9504dfa45e9b87c44cff2e66c6
net: fs_enet: Simplify code

There is no need to use an intermediate variable to handle an error code
in this case.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c