]> err.no Git - linux-2.6/blobdiff - arch/ppc/8xx_io/cs4218_tdm.c
[PATCH] kfree cleanup: arch
[linux-2.6] / arch / ppc / 8xx_io / cs4218_tdm.c
index 532caa388dc258b9a90407d96a0a978c71854f9b..49eb2a7e65c0711a8ee2585b0ec2221210796c5a 100644 (file)
@@ -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 */