projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a2422
)
sound: OSS: Remove superfluous pci_set_dvdata(pci, NULL)
author
Takashi Iwai
<tiwai@suse.de>
Wed, 29 May 2013 10:40:04 +0000
(12:40 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 29 May 2013 10:40:04 +0000
(12:40 +0200)
Only kahlua.c has it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/kahlua.c
patch
|
blob
|
history
diff --git
a/sound/oss/kahlua.c
b/sound/oss/kahlua.c
index 2a44cc10645924820972e8a1cf90e00ac5881ab7..12be1fb512dd277a8df2f104ba11f91365c0033d 100644
(file)
--- a/
sound/oss/kahlua.c
+++ b/
sound/oss/kahlua.c
@@
-178,7
+178,6
@@
static int probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
return 0;
err_out_free:
- pci_set_drvdata(pdev, NULL);
kfree(hw_config);
return 1;
}
@@
-187,7
+186,6
@@
static void remove_one(struct pci_dev *pdev)
{
struct address_info *hw_config = pci_get_drvdata(pdev);
sb_dsp_unload(hw_config, 0);
- pci_set_drvdata(pdev, NULL);
kfree(hw_config);
}