diff options
author | Fredrick John Berchmans <fredrickprashanth@gmail.com> | 2014-05-03 21:42:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-16 16:10:41 -0700 |
commit | 7f03de97b6f14e6548593425a5d9adc09260f32b (patch) | |
tree | ce48e32a396fb202e51da6df57a56cc7c0e604bf /drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c | |
parent | a9c08b0ac1c4f022bda7e2c7aa11869da33a8058 (diff) |
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>
Diffstat (limited to 'drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c')
-rw-r--r-- | drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c | 2 |
1 files changed, 0 insertions, 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 4153b4a61396..ac3a444a918d 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) { |