diff options
Diffstat (limited to 'sound/sparc')
-rw-r--r-- | sound/sparc/cs4231.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c index ddc0f2e082d6..20daf261d03d 100644 --- a/sound/sparc/cs4231.c +++ b/sound/sparc/cs4231.c | |||
@@ -1865,8 +1865,6 @@ static int snd_cs4231_sbus_free(struct snd_cs4231 *chip) | |||
1865 | if (chip->port) | 1865 | if (chip->port) |
1866 | sbus_iounmap(chip->port, chip->regs_size); | 1866 | sbus_iounmap(chip->port, chip->regs_size); |
1867 | 1867 | ||
1868 | kfree(chip); | ||
1869 | |||
1870 | return 0; | 1868 | return 0; |
1871 | } | 1869 | } |
1872 | 1870 | ||
@@ -2037,8 +2035,6 @@ static int snd_cs4231_ebus_free(struct snd_cs4231 *chip) | |||
2037 | if (chip->port) | 2035 | if (chip->port) |
2038 | iounmap(chip->port); | 2036 | iounmap(chip->port); |
2039 | 2037 | ||
2040 | kfree(chip); | ||
2041 | |||
2042 | return 0; | 2038 | return 0; |
2043 | } | 2039 | } |
2044 | 2040 | ||