commit | 01a859014b35deb6cc63b1dc2808ca7a0e10a4de | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Sat Jan 15 03:06:39 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Jan 15 20:58:11 2011 -0800 |
tree | 28334f820b4ce3218a643cda0967aaf63886f4a0 | |
parent | 5e5073280379d38e86ade471daa7443b553fc839 [diff] |
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 <error27@gmail.com> Acked-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>