Browse Source

staging: lustre: fix unused variable warnings

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Fredrick John Berchmans <fredrickprashanth@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fredrick John Berchmans 11 years ago
parent
commit
7f03de97b6
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c

+ 0 - 2
drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c

@@ -46,10 +46,8 @@
 int
 int
 libcfs_sock_ioctl(int cmd, unsigned long arg)
 libcfs_sock_ioctl(int cmd, unsigned long arg)
 {
 {
-	mm_segment_t    oldmm = get_fs();
 	struct socket  *sock;
 	struct socket  *sock;
 	int	     rc;
 	int	     rc;
-	struct file    *sock_filp;
 
 
 	rc = sock_create (PF_INET, SOCK_STREAM, 0, &sock);
 	rc = sock_create (PF_INET, SOCK_STREAM, 0, &sock);
 	if (rc != 0) {
 	if (rc != 0) {