DORMANTno replies

[PATCH 2.6.9 2/2] via-velocity: get rid of unused global

From: Stephen Hemminger <hidden>
Date: 2004-10-18 21:09:13

Get rid of unused global variable, name the enum instead.

Signed-off-by: Stephen Hemminger <redacted>


diff -Nru a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h
--- a/drivers/net/via-velocity.h	2004-10-18 14:04:11 -07:00
+++ b/drivers/net/via-velocity.h	2004-10-18 14:04:11 -07:00
@@ -291,10 +291,10 @@
 	dma_addr_t buf_dma;
 };
 
-enum {
+enum  velocity_owner {
 	OWNED_BY_HOST = 0,
 	OWNED_BY_NIC = 1
-} velocity_owner;
+};
 
 
 /*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help