From: Wei Yang Date: Sun, 1 Jun 2014 07:25:41 +0000 (+0800) Subject: net/mlx4_core: Preserve pci_dev_data after __mlx4_remove_one() X-Git-Tag: v3.2.61~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63eed2fa66568ef3c85530d0c1d14812907aa7fe;p=pandora-kernel.git net/mlx4_core: Preserve pci_dev_data after __mlx4_remove_one() [ Upstream commit befdf8978accecac2e0739e6b5075afc62db37fe ] This patch wrap up a helper function __mlx4_remove_one() which does the tear down function but preserve the drv_data. Functions like mlx4_pci_err_detected() and mlx4_restart_one() will call this one with out releasing drvdata. Signed-off-by: Wei Yang Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed