From 63eed2fa66568ef3c85530d0c1d14812907aa7fe Mon Sep 17 00:00:00 2001 From: Wei Yang Date: Sun, 1 Jun 2014 15:25:41 +0800 Subject: [PATCH] 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-format-patch failed