From: Ilpo Järvinen Date: Tue, 19 Aug 2008 05:48:57 +0000 (+0300) Subject: powerpc/spufs: Remove invalid semicolon after if statement X-Git-Tag: v2.6.27-rc4~31^2~3^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb9808d3d0cb0ed97197decadcf0431140b9e231;p=linux-2.6 powerpc/spufs: Remove invalid semicolon after if statement Signed-off-by: Ilpo Järvinen Signed-off-by: Jeremy Kerr --- diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c index 4b6b0c3a8c..1c1b627ee8 100644 --- a/arch/powerpc/platforms/cell/spufs/sched.c +++ b/arch/powerpc/platforms/cell/spufs/sched.c @@ -1037,7 +1037,7 @@ void spuctx_switch_state(struct spu_context *ctx, node = spu->node; if (old_state == SPU_UTIL_USER) atomic_dec(&cbe_spu_info[node].busy_spus); - if (new_state == SPU_UTIL_USER); + if (new_state == SPU_UTIL_USER) atomic_inc(&cbe_spu_info[node].busy_spus); } }