From: Alexander Zarochentsev Signed-off-by: Andrew Morton --- fs/reiser4/spin_macros.h | 3 --- 1 files changed, 3 deletions(-) diff -puN fs/reiser4/spin_macros.h~reiser4-big-update-spin_macros-fix fs/reiser4/spin_macros.h --- 25/fs/reiser4/spin_macros.h~reiser4-big-update-spin_macros-fix Tue Oct 11 14:55:32 2005 +++ 25-akpm/fs/reiser4/spin_macros.h Tue Oct 11 14:55:32 2005 @@ -82,8 +82,6 @@ typedef struct reiser4_rw_data { static inline void spin_ ## NAME ## _init(TYPE *x) \ { \ __ODCA("nikita-2987", x != NULL); \ - cassert(sizeof(x->FIELD) != 0); \ - memset(& x->FIELD, 0, sizeof x->FIELD); \ spin_lock_init(& x->FIELD.lock); \ } \ \ @@ -236,7 +234,6 @@ typedef struct { int foo; } NAME ## _spi static inline void rw_ ## NAME ## _init(TYPE *x) \ { \ __ODCA("nikita-2988", x != NULL); \ - memset(& x->FIELD, 0, sizeof x->FIELD); \ rwlock_init(& x->FIELD.lock); \ } \ \ _