提交 7f03de97 编写于 作者: F Fredrick John Berchmans 提交者: Greg Kroah-Hartman

staging: lustre: fix unused variable warnings

Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NFredrick John Berchmans <fredrickprashanth@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a9c08b0a
...@@ -46,10 +46,8 @@ ...@@ -46,10 +46,8 @@
int int
libcfs_sock_ioctl(int cmd, unsigned long arg) libcfs_sock_ioctl(int cmd, unsigned long arg)
{ {
mm_segment_t oldmm = get_fs();
struct socket *sock; struct socket *sock;
int rc; int rc;
struct file *sock_filp;
rc = sock_create (PF_INET, SOCK_STREAM, 0, &sock); rc = sock_create (PF_INET, SOCK_STREAM, 0, &sock);
if (rc != 0) { if (rc != 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册