Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b53f1f82 authored by Gu Zheng's avatar Gu Zheng Committed by Benjamin LaHaise
Browse files

aio: remove the needless registration of ring file's private_data



Remove the registration of ring file's private_data, we do not use
it.

Reviewed-by: default avatarJeff Moyer <jmoyer@redhat.com>
Signed-off-by: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: default avatarBenjamin LaHaise <bcrl@kvack.org>
parent be6fb451
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -192,7 +192,6 @@ static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages)
	}

	file->f_flags = O_RDWR;
	file->private_data = ctx;
	return file;
}