ehea: Fix: Remove adapter from adapter list in error path
authorHannes Hering <hering2@de.ibm.com>
Wed, 11 Feb 2009 21:47:57 +0000 (13:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Feb 2009 21:47:57 +0000 (13:47 -0800)
commit51621fbdb1ea8709ab67170b54e71be6d9fa29ad
tree8a1808d5ecd15d3a4eecadebbc72005c21566cd0
parent367681f4ec9b226db201f181c4f47dd973f733a6
ehea: Fix: Remove adapter from adapter list in error path

Remove adapter from adapter list before freeing data structure in
error path.

Signed-off-by: Hannes Hering <hering2@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c