summaryrefslogtreecommitdiff
path: root/arch/ppc/8xx_io/cs4218_tdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/8xx_io/cs4218_tdm.c')
-rw-r--r--arch/ppc/8xx_io/cs4218_tdm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ppc/8xx_io/cs4218_tdm.c b/arch/ppc/8xx_io/cs4218_tdm.c
index 532caa388dc2..49eb2a7e65c0 100644
--- a/arch/ppc/8xx_io/cs4218_tdm.c
+++ b/arch/ppc/8xx_io/cs4218_tdm.c
@@ -1013,8 +1013,7 @@ static void CS_IrqCleanup(void)
*/
cpm_free_handler(CPMVEC_SMC2);
- if (beep_buf)
- kfree(beep_buf);
+ kfree(beep_buf);
kd_mksound = orig_mksound;
}
#endif /* MODULE */