X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fppc%2F8xx_io%2Fcs4218_tdm.c;h=49eb2a7e65c0711a8ee2585b0ec2221210796c5a;hb=b2325fe1b7e5654fac9e9419423aa2c58a3dbd83;hp=532caa388dc258b9a90407d96a0a978c71854f9b;hpb=0ee40c6628434f0535da31deeacc28b61e80d810;p=linux-2.6 diff --git a/arch/ppc/8xx_io/cs4218_tdm.c b/arch/ppc/8xx_io/cs4218_tdm.c index 532caa388d..49eb2a7e65 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 */