From: Joe Perches Date: Tue, 9 Apr 2013 10:18:14 +0000 (+0000) Subject: tg3: Use bool not int X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=953c96e0d85615d1ab1f100e525d376053294dc2;p=pandora-kernel.git tg3: Use bool not int Using bool can make code more readable. Convert uses and tests of int to bool. This also makes a comparison of tg3->link_up (itself bool) a bool comparison instead of int. Reorder stack variable declarations to make bool fit declaration holes where appropriate. $ size drivers/net/ethernet/broadcom/tg3.o* text data bss dec hex filename 169958 27249 58896 256103 3e867 drivers/net/ethernet/broadcom/tg3.o.new 169968 27249 58896 256113 3e871 drivers/net/ethernet/broadcom/tg3.o.old Signed-off-by: Joe Perches Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed