NET: Proper return code handling in eth_init() function in file eth.c
authorUpakul Barkakaty <upakul@gmail.com>
Thu, 29 Nov 2007 06:46:13 +0000 (12:16 +0530)
committerBen Warren <biggerbadderben@gmail.com>
Fri, 4 Jan 2008 03:39:51 +0000 (22:39 -0500)
commit505be87a65e4f87ad7d8da1d57ea4dcd487d7e32
tree4709f78870677807b2f2c99fc86fa33a69d65bfe
parent5ca2d0953e4579a80810966cca2077e20d912c97
NET: Proper return code handling in eth_init() function in file eth.c

This patch modifies the return code handling in the eth_init()
function, to be compatible with the handling of the return codes in
the other network stack files. It now returns a 0 on Success and -1 on
error.

Signed-off-by: Upakul Barkakaty <upakul.barkakaty@conexant.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/eth.c