diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-07 17:14:56 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-01-14 18:50:52 -0500 |
commit | 10aa250b2f7d87d0921c5e991fd49e607050d486 (patch) | |
tree | 87d6b1cc16c76e010a52f6360e14f97ecfd2b1dc /drivers/vhost | |
parent | 60af39c1f4cc92cc2785ef745c0c97558134d539 (diff) | |
download | linux-10aa250b2f7d87d0921c5e991fd49e607050d486.tar.bz2 |
eni_vdpa: Simplify 'eni_vdpa_probe()'
When 'pcim_enable_device()' is used, some resources become automagically
managed.
There is no need to call 'pci_free_irq_vectors()' when the driver is
removed. The same will already be done by 'pcim_release()'.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/02045bdcbbb25f79bae4827f66029cfcddc90381.1636301587.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions