summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-06-08 16:20:28 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-06-08 16:20:28 +0000
commit4f825f0fc4312f801c6d6503bf0d0e21d5e8c7c1 (patch)
treee2076ab8acc0ca13f3773b774cfd8c528d48ac05 /sys/dev/pci/if_em.c
parent0aecf7e113c2ca587507ebb353476bfae4450fb4 (diff)
don't declare foo_driver_version[] strings and turn them into defines,
nothing uses them and it saves a few bytes in the kernel. ok claudio@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r--sys/dev/pci/if_em.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 9b69bbc7171..3a5d117c5b4 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.183 2008/06/03 12:45:27 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.184 2008/06/08 16:20:27 reyk Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -47,7 +47,7 @@ int em_display_debug_stats = 0;
* Driver version
*********************************************************************/
-char em_driver_version[] = "6.2.9";
+#define EM_DRIVER_VERSION "6.2.9"
/*********************************************************************
* PCI Device ID Table