From cab80d98f50bbacb7df79bd267d0b2b008b2d84f Mon Sep 17 00:00:00 2001 From: Vitaly Osipov Date: Sat, 14 Jun 2014 17:29:51 +1000 Subject: [PATCH] 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-format-patch failed