]> git.karo-electronics.de Git - linux-beck.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)
commit3fb8cb801a9393888c09bea38d3e9ca360221b66
tree276ef9503370d955ecb06c3042b8b1555f1e99e3
parentbb864e07b2ea9c3cb0206973baa79dc5f27d2ee8
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