public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: lustre: remove unused variables
@ 2014-05-06 14:56 Emil Goode
  2014-05-06 18:49 ` Fredrick Prashanth John Berchmans
  0 siblings, 1 reply; 2+ messages in thread
From: Emil Goode @ 2014-05-06 14:56 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Peng Tao, Andreas Dilger,
	Fredrick John Berchmans
  Cc: devel, linux-kernel, kernel-janitors, Emil Goode

The following commit left some unused variables behind.

commit 80db2734acbc78db12798cfb611d6acc7fe389e6
Author: Fredrick John Berchmans <fredrickprashanth@gmail.com>
Date:   Fri May 2 19:50:15 2014 -0700

    staging: lustre use kernel socket sockopt apis

Signed-off-by: Emil Goode <emilgoode@gmail.com>
---
 drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c b/drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c
index 4153b4a..ac3a444 100644
--- a/drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c
+++ b/drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c
@@ -46,10 +46,8 @@
 int
 libcfs_sock_ioctl(int cmd, unsigned long arg)
 {
-	mm_segment_t    oldmm = get_fs();
 	struct socket  *sock;
 	int	     rc;
-	struct file    *sock_filp;
 
 	rc = sock_create (PF_INET, SOCK_STREAM, 0, &sock);
 	if (rc != 0) {
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-06 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 14:56 [PATCH] staging: lustre: remove unused variables Emil Goode
2014-05-06 18:49 ` Fredrick Prashanth John Berchmans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox