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>
This commit is contained in:
Hannes Hering 2009-02-11 13:47:57 -08:00 • committed by David S. Miller
commit 51621fbdb1
2 changed files with 2 additions and 1 deletions