From: Fredrick John Berchmans Date: Sun, 4 May 2014 04:42:14 +0000 (-0700) Subject: staging: lustre: fix unused variable warnings X-Git-Tag: next-20140519~19^2~40 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7f03de97b6f14e6548593425a5d9adc09260f32b;p=karo-tx-linux.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) {