]> err.no Git - linux-2.6/commitdiff
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 4b6b0c3a8c9511eeb5c7fe2f98eaefe4522a1a1e..1c1b627ee8436dc8e2fce9098d274183b8f18011 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);
        }
 }