diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/oss/kahlua.c | 2 |
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) | |||
178 | return 0; | 178 | return 0; |
179 | 179 | ||
180 | err_out_free: | 180 | err_out_free: |
181 | pci_set_drvdata(pdev, NULL); | ||
182 | kfree(hw_config); | 181 | kfree(hw_config); |
183 | return 1; | 182 | return 1; |
184 | } | 183 | } |
@@ -187,7 +186,6 @@ static void remove_one(struct pci_dev *pdev) | |||
187 | { | 186 | { |
188 | struct address_info *hw_config = pci_get_drvdata(pdev); | 187 | struct address_info *hw_config = pci_get_drvdata(pdev); |
189 | sb_dsp_unload(hw_config, 0); | 188 | sb_dsp_unload(hw_config, 0); |
190 | pci_set_drvdata(pdev, NULL); | ||
191 | kfree(hw_config); | 189 | kfree(hw_config); |
192 | } | 190 | } |
193 | 191 | ||