From: Michal Schmidt Date: Fri, 15 Mar 2013 05:27:54 +0000 (+0000) Subject: bnx2x: add missing napi deletion in error path X-Git-Tag: v3.9-rc4~27^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722c6f585088a2c392b4c5d01b87a584bb8fb73f;p=pandora-kernel.git bnx2x: add missing napi deletion in error path If the hardware initialization fails in bnx2x_nic_load() after adding napi objects, they would not be deleted. A subsequent attempt to unload the bnx2x module detects a corruption in the napi list. Add the missing napi deletion to the error path. Signed-off-by: Michal Schmidt Acked-by: Dmitry Kravkov Signed-off-by: David S. Miller --- Reading git-diff-tree failed