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>
This commit is contained in:
Fredrick John Berchmans 2014-05-03 21:42:14 -07:00 committed by Greg Kroah-Hartman
parent a9c08b0ac1
commit 7f03de97b6

View File

@ -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) {