summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2008-03-31 01:13:00 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-04-16 20:41:44 -0400
commit7dd73bbcc99b755436d8dc4b412d23e92a685f4d (patch)
treeb202e7e56b9c1dbd497fd90e40e0bc2dda25cc58 /samples
parenta8d06342baab56901bfd70c4f66be382d4b9967d (diff)
downloadop-kernel-dev-7dd73bbcc99b755436d8dc4b412d23e92a685f4d.zip
op-kernel-dev-7dd73bbcc99b755436d8dc4b412d23e92a685f4d.tar.gz
sb1000.c: make const arrays static
This patch replaces automatic constant arrays a-la const unsigned char Command0[6] = {0x80, 0x16, 0x00, 0x00, 0x00, 0x00}; with static ones. Size difference for 32bit x86: text data bss dec hex filename 5418 129 0 5547 15ab linux-2.6.inline-ALLYES/drivers/net/sb1000.o 5396 129 0 5525 1595 linux-2.6.followup-ALLYES/drivers/net/sb1000.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud