powerpc/spufs: Remove invalid semicolon after if statement
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 19 Aug 2008 05:48:57 +0000 (08:48 +0300)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 19 Aug 2008 14:04:55 +0000 (22:04 +0800)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/sched.c

index 4b6b0c3..1c1b627 100644 (file)
@@ -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);
        }
 }