Skip to content

Commit

Permalink
kernel: remove unnecessary call to pci_release_regions() on device re…
Browse files Browse the repository at this point in the history
…move
  • Loading branch information
sergachev committed May 17, 2020
1 parent c2fd143 commit 8192494
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion litepcie/software/kernel/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,6 @@ static void litepcie_pci_remove(struct pci_dev *dev)

litepcie_end(dev, s);
pci_iounmap(dev, s->bar0_addr);
pci_release_regions(dev);
device_destroy(litepcie_class, MKDEV(MAJOR(litepcie_cdev), s->minor));
cdev_del(&s->cdev_struct);
};
Expand Down

0 comments on commit 8192494

Please sign in to comment.