From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751810AbaHORZA (ORCPT ); Fri, 15 Aug 2014 13:25:00 -0400 Received: from kanga.kvack.org ([205.233.56.17]:34769 "EHLO kanga.kvack.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751768AbaHORY7 (ORCPT ); Fri, 15 Aug 2014 13:24:59 -0400 Date: Fri, 15 Aug 2014 13:24:58 -0400 From: Gu Zheng To: Linus Torvalds Cc: linux-aio@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] aio: remove the needless registration of ring file's private_data Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- fs/aio.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 1.8.2.1 -- "Thought is the essence of where you are now."