From: NeilBrown Date: Wed, 23 Sep 2009 08:16:31 +0000 (+1000) Subject: md: remove unnecessary memset from multipath. X-Git-Tag: v2.6.32-rc1~60^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f28f4e272876317626cd399288b4030b627c4b91;p=pandora-kernel.git md: remove unnecessary memset from multipath. Recent commit bbba809e96539672f775a3d70102657d05816a5b replaced mempool_create_kzalloc_pool with mempool_create_kmalloc_pool plus a memset. This memset is not needed (and we didn't need kzalloc in the first place). Ever field of the allocated structure (struct multipath_bh) is initialised immediately except retry_list, and memset does not initial a list_head anyway. To remove the memset. Signed-off-by: NeilBrown --- Reading git-diff-tree failed