]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[CELL] spufs: remove unused file argument from spufs_run_spu()
authorJeremy Kerr <jk@ozlabs.org>
Fri, 20 Jul 2007 19:39:42 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:42:03 +0000 (21:42 +0200)
From: Sebastian Siewior <cbe-oss-dev@ml.breakpoint.cc>

The 'file' argument is unused in spufs_run_spu(). This change removes
it.

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/run.c
arch/powerpc/platforms/cell/spufs/spufs.h
arch/powerpc/platforms/cell/spufs/syscalls.c

index 8c91b3f93152deb2508dc32bd3c2378a0e45a648..c0238ea5b55ad0531a7721b0f26459d72b848b52 100644 (file)
@@ -295,8 +295,7 @@ static inline int spu_process_events(struct spu_context *ctx)
        return ret;
 }
 
-long spufs_run_spu(struct file *file, struct spu_context *ctx,
-                  u32 *npc, u32 *event)
+long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event)
 {
        int ret;
        u32 status;
index 1438aa2c346eb0478847a6ed378406e2cf2a5e44..03e8315f6f9e3e1dd34f50479d637bbd7bca1d2b 100644 (file)
@@ -181,8 +181,7 @@ extern struct tree_descr spufs_dir_contents[];
 extern struct tree_descr spufs_dir_nosched_contents[];
 
 /* system call implementation */
-long spufs_run_spu(struct file *file,
-                  struct spu_context *ctx, u32 *npc, u32 *status);
+long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *status);
 long spufs_create(struct nameidata *nd,
                         unsigned int flags, mode_t mode);
 extern const struct file_operations spufs_context_fops;
index 8e37bdf4dfdad4e7633540126a0227a35df7b2da..13a383c67caea2ce8a58c566d407206c86626043 100644 (file)
@@ -47,7 +47,7 @@ static long do_spu_run(struct file *filp,
                goto out;
 
        i = SPUFS_I(filp->f_path.dentry->d_inode);
-       ret = spufs_run_spu(filp, i->i_ctx, &npc, &status);
+       ret = spufs_run_spu(i->i_ctx, &npc, &status);
 
        if (put_user(npc, unpc))
                ret = -EFAULT;