mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
sound: OSS: Remove superfluous pci_set_dvdata(pci, NULL)
Only kahlua.c has it. Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
20a24225d8
commit
d2c6980715
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue