From: Gu Zheng Date: Wed, 23 Jul 2014 10:03:51 +0000 (+0800) Subject: aio: remove the needless registration of ring file's private_data X-Git-Tag: v4.9.8~5860^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2;p=platform%2Fkernel%2Flinux-rpi3.git 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: Jeff Moyer Signed-off-by: Gu Zheng Signed-off-by: Benjamin LaHaise --- diff --git a/fs/aio.c b/fs/aio.c index 9ce9e8e..55e03a8 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -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; }