From: Dan Carpenter Date: Mon, 7 Apr 2014 22:39:03 +0000 (-0700) Subject: drivers/misc/sgi-gru/grukdump.c: cleanup gru_dump_context() a little X-Git-Tag: v3.15-rc1~57^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a83d928c652c092acd1ce79c19d44a1da9a6db;p=pandora-kernel.git drivers/misc/sgi-gru/grukdump.c: cleanup gru_dump_context() a little "ret" is zero here so we can remove the "!ret" part of the condition. "uhdr" is alread a __user pointer so we can remove the cast. Signed-off-by: Dan Carpenter Acked-by: Dimitri Sivanich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed