From: Vitaly Osipov Date: Sat, 14 Jun 2014 07:29:51 +0000 (+1000) Subject: staging: lustre: remove memset(0) after LIBCFS_ALLOC X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1952 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab80d98f50bbacb7df79bd267d0b2b008b2d84f;p=pandora-kernel.git staging: lustre: remove memset(0) after LIBCFS_ALLOC Joe Perches mentioned on driverdev-devel that memset after LIBCFS_ALLOC is not necessary as it is already done during LIBCFS_ALLOC_POST. This commit removes these unnecessary memsets. Based on the results of running a cocci patch along the lines of: @@ expression E1, E2; @@ LIBCFS_ALLOC (E1,E2); ... - memset(E1,0,E2); Signed-off-by: Vitaly Osipov Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed