From: Yair Shapira Date: Wed, 11 Jul 2012 15:48:07 +0000 (+0300) Subject: wlcore: make usage of nla_put clearer X-Git-Tag: v3.6-rc1~125^2~57^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf722d1defc3020e9382106045f24c2978407e55;p=pandora-kernel.git wlcore: make usage of nla_put clearer handle errors of nla_put() inside the if(nla_put...) {} This makes the code simpler and clearer because: we take advantage from the fact that we have only one nla_put in our routines (so no real need for goto label). this avoids ugly goto forward followed by goto backward. Signed-off-by: Yair Shapira Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed