From: Dominik Brodowski Date: Fri, 29 Jul 2011 16:27:34 +0000 (+0200) Subject: smc91c92_cs.c: fix bogus compiler warning X-Git-Tag: v3.1-rc1~108^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74411c04540404a1ff29d254584ef393e150aeda;p=pandora-kernel.git smc91c92_cs.c: fix bogus compiler warning On a recent compile, I got this warning: CC [M] drivers/net/pcmcia/smc91c92_cs.o drivers/net/pcmcia/smc91c92_cs.c: In function ‘smc91c92_probe’: drivers/net/pcmcia/smc91c92_cs.c:812:12: warning: ‘j’ may be used uninitialized in this function However, "j" is only used in a branch which has the same condition as a previous branch, where j is set, e.g. int j; if (CONDITION) j = VALUE ... if (CONDITION) printk(j) Still, avoid this warning, as it is easy to circumvent. Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed