From: George Spelvin Date: Wed, 4 Jun 2014 23:06:08 +0000 (-0700) Subject: ocfs2: remove some redundant casting X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~249 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3821c3f866a1c02d1537ab67abe9a824d1353ae;p=pandora-kernel.git ocfs2: remove some redundant casting There are two standard techniques for dereferencing structures pointed to by void *: cast to the right type each time they're used, or assign to local variables of the right type. But there's no need to do *both*. Signed-off-by: George Spelvin Cc: Mark Fasheh Acked-by: Joel Becker Reviewed-by: Jie Liu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed