Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40840
b: refs/heads/master
c: d67afe5
h: refs/heads/master
v: v3
  • Loading branch information
David Miller authored and Linus Torvalds committed Nov 13, 2006
1 parent b5498dd commit ad8b6a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2b4ac44e7c7e16cf9411b81693ff3e604f332bf1
refs/heads/master: d67afe5ed00070de0965bfc98de5f6ed3a80a73e
3 changes: 3 additions & 0 deletions trunk/drivers/pci/pci-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,9 @@ int __must_check pci_create_sysfs_dev_files (struct pci_dev *pdev)
*/
void pci_remove_sysfs_dev_files(struct pci_dev *pdev)
{
if (!sysfs_initialized)
return;

if (pdev->cfg_size < 4096)
sysfs_remove_bin_file(&pdev->dev.kobj, &pci_config_attr);
else
Expand Down

0 comments on commit ad8b6a4

Please sign in to comment.