diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2014-06-01 15:25:20 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-26 15:10:28 -0400 |
commit | 6ddc168fe00751a47139f5e6fd432aea799c654d (patch) | |
tree | 2d12cda6af38ce563cfaf4da89fed2d62c96e03a /lib | |
parent | ff2005a4a5ba32505030b0bcb3c2a163ea417c53 (diff) |
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 <weiyang@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions