OSDN Git Service

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 4153b4a..ac3a444 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) {