From: Fred Isaman Date: Wed, 19 Mar 2008 15:54:04 +0000 (-0400) Subject: nfs: remove duplicate initializations of nfs_read_data field X-Git-Tag: v2.6.26-rc1~1082^2^2~54 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;h=4af68bffac444a23f027e18ff244101e63b79227;p=safe%2Fjmp%2Flinux-2.6 nfs: remove duplicate initializations of nfs_read_data field Signed-off-by: Fred Isaman Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/read.c b/fs/nfs/read.c index ab2f7d2..d333f5f 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c @@ -251,7 +251,6 @@ static int nfs_pagein_multi(struct inode *inode, struct list_head *head, unsigne data = nfs_readdata_alloc(1); if (!data) goto out_bad; - INIT_LIST_HEAD(&data->pages); list_add(&data->pages, &list); requests++; nbytes -= len; @@ -298,7 +297,6 @@ static int nfs_pagein_one(struct inode *inode, struct list_head *head, unsigned if (!data) goto out_bad; - INIT_LIST_HEAD(&data->pages); pages = data->pagevec; while (!list_empty(head)) { req = nfs_list_entry(head->next);