From 7f03de97b6f14e6548593425a5d9adc09260f32b Mon Sep 17 00:00:00 2001 From: Fredrick John Berchmans Date: Sat, 3 May 2014 21:42:14 -0700 Subject: [PATCH] staging: lustre: fix unused variable warnings Reported-by: kbuild test robot Signed-off-by: Fredrick John Berchmans Signed-off-by: Greg Kroah-Hartman --- 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 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) { -- 2.11.0