From: Fredrick John Berchmans Date: Sun, 4 May 2014 04:42:14 +0000 (-0700) Subject: staging: lustre: fix unused variable warnings X-Git-Tag: firefly_0821_release~176^2~3465^2~39^2~722 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7f03de97b6f14e6548593425a5d9adc09260f32b;p=firefly-linux-kernel-4.4.55.git staging: lustre: fix unused variable warnings Reported-by: kbuild test robot Signed-off-by: Fredrick John Berchmans Signed-off-by: Greg Kroah-Hartman --- 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) {