staging: lustre: fix unused variable warnings
authorFredrick John Berchmans <fredrickprashanth@gmail.com>
Sun, 4 May 2014 04:42:14 +0000 (21:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 23:10:41 +0000 (16:10 -0700)
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>
drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c

index 4153b4a61396cc9ed1b1a445200e792d1558c142..ac3a444a918d60a5c285522afb2bfeb5f3d2c03b 100644 (file)
 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) {