diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2008-03-31 01:13:00 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-16 20:41:44 -0400 |
commit | 7dd73bbcc99b755436d8dc4b412d23e92a685f4d (patch) | |
tree | b202e7e56b9c1dbd497fd90e40e0bc2dda25cc58 /samples | |
parent | a8d06342baab56901bfd70c4f66be382d4b9967d (diff) | |
download | op-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