+ spufs-remove-unused-file-argument-from-spufs_run_spu.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     spufs: remove unused file argument from spufs_run_spu()
has been added to the -mm tree.  Its filename is
     spufs-remove-unused-file-argument-from-spufs_run_spu.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: spufs: remove unused file argument from spufs_run_spu()
From: Sebastian Siewior <cbe-oss-dev@xxxxxxxxxxxxxxxx>

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

Signed-off-by: Sebastian Siewior <sebastian@xxxxxxxxxxxxx>
Signed-off-by: Jeremy Kerr <jk@xxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/powerpc/platforms/cell/spufs/run.c      |    3 +--
 arch/powerpc/platforms/cell/spufs/spufs.h    |    3 +--
 arch/powerpc/platforms/cell/spufs/syscalls.c |    2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)

diff -puN arch/powerpc/platforms/cell/spufs/run.c~spufs-remove-unused-file-argument-from-spufs_run_spu arch/powerpc/platforms/cell/spufs/run.c
--- a/arch/powerpc/platforms/cell/spufs/run.c~spufs-remove-unused-file-argument-from-spufs_run_spu
+++ a/arch/powerpc/platforms/cell/spufs/run.c
@@ -297,8 +297,7 @@ static inline int spu_process_events(str
 	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;
 	struct spu *spu;
diff -puN arch/powerpc/platforms/cell/spufs/spufs.h~spufs-remove-unused-file-argument-from-spufs_run_spu arch/powerpc/platforms/cell/spufs/spufs.h
--- a/arch/powerpc/platforms/cell/spufs/spufs.h~spufs-remove-unused-file-argument-from-spufs_run_spu
+++ a/arch/powerpc/platforms/cell/spufs/spufs.h
@@ -188,8 +188,7 @@ extern struct tree_descr spufs_dir_conte
 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;
diff -puN arch/powerpc/platforms/cell/spufs/syscalls.c~spufs-remove-unused-file-argument-from-spufs_run_spu arch/powerpc/platforms/cell/spufs/syscalls.c
--- a/arch/powerpc/platforms/cell/spufs/syscalls.c~spufs-remove-unused-file-argument-from-spufs_run_spu
+++ a/arch/powerpc/platforms/cell/spufs/syscalls.c
@@ -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;
_

Patches currently in -mm which might be from cbe-oss-dev@xxxxxxxxxxxxxxxx are

spufs-remove-unused-file-argument-from-spufs_run_spu.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux