From: Dan Carpenter Date: Thu, 22 Jan 2015 07:49:54 +0000 (+0300) Subject: staging: lustre: remove the CFS_HOP() macro X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=052f4f61ecb14119709f928984c347ef6a2ec35c;p=pandora-kernel.git staging: lustre: remove the CFS_HOP() macro CFS_HOP() is a terrible macro. It chops the struct member name in half so that it's not possible to use tools like grep or to search for how a function pointer is used. I removed a couple calls to: LASSERT(CFS_HOP(hs, put_locked) != NULL); because they isn't a need for them. Anyway dereferencing a NULL pointer generates a pretty good stack trace already without adding extra debug code. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed