summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-05-29 12:40:04 +0200
committerTakashi Iwai <tiwai@suse.de>2013-05-29 12:40:04 +0200
commitd2c69807156b8c162ce3f1e37b220d03d57af063 (patch)
tree4b10eec01e7bc66ec077b96e187f0b466aafecc7 /sound
parent20a24225d8f94fc56f74a9068684869d6deebea5 (diff)
sound: OSS: Remove superfluous pci_set_dvdata(pci, NULL)
Only kahlua.c has it. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/kahlua.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/oss/kahlua.c b/sound/oss/kahlua.c
index 2a44cc106459..12be1fb512dd 100644
--- 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);
}