From: Dan Carpenter Date: Sat, 15 Jan 2011 03:06:39 +0000 (+0000) Subject: caif: checking the wrong variable X-Git-Tag: v2.6.38-rc2~33^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01a859014b35deb6cc63b1dc2808ca7a0e10a4de;p=pandora-kernel.git caif: checking the wrong variable In the original code we check if (servl == NULL) twice. The first time should print the message that cfmuxl_remove_uplayer() failed and set "ret" correctly, but instead it just returns success. The second check should be checking the value of "ret" instead of "servl". Signed-off-by: Dan Carpenter Acked-by: Sjur Braendeland Signed-off-by: David S. Miller --- Reading git-diff-tree failed