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:
parent
a9c08b0ac1
commit
7f03de97b6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user