]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: remove unncessary gotos
authorKalesh AP <kalesh.purayil@emulex.com>
Tue, 2 Sep 2014 04:26:52 +0000 (09:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 19:46:00 +0000 (12:46 -0700)
commit4f28cb009e932e8a7bc3e4341ded31fd004c1c9b
tree276ef9503370d955ecb06c3042b8b1555f1e99e3
parentd5ad18a0ec96a56a01b38d88d7d8090973d70c72
be2net: remove unncessary gotos

In cases where there is no extra code to handle an error, this patch replaces
gotos with a direct return statement.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c