summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt61pci.c
diff options
context:
space:
mode:
authorJoe Perches2013-04-09 12:18:14 +0200
committerDavid S. Miller2013-04-09 23:07:52 +0200
commit953c96e0d85615d1ab1f100e525d376053294dc2 (patch)
treea2503a75ee16884c1373d591a4618ef45ecfa911 /drivers/net/wireless/rt2x00/rt61pci.c
parentMerge branch 'tg3' (diff)
downloadkernel-qcow2-linux-953c96e0d85615d1ab1f100e525d376053294dc2.tar.gz
kernel-qcow2-linux-953c96e0d85615d1ab1f100e525d376053294dc2.tar.xz
kernel-qcow2-linux-953c96e0d85615d1ab1f100e525d376053294dc2.zip
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 <joe@perches.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
0 files changed, 0 insertions, 0 deletions