Skip to content
Commit de140b0d authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

dnet: fixup error handling in initialization



There were two problems here.  We returned success if dnet_mii_init()
failed and there was a release_mem_region() missing.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5cb002f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment