[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] [PATCH][2/3] ISP116x USB drivers. Remove unused variable.



Commit message:

Remove unused variable.
Contributed by David Galvez.
diff -r 9b7cd20da434 -r e55aa706e8f4 sys/usb/src.km/ucd/ethernat/isp116x.h
--- a/sys/usb/src.km/ucd/ethernat/isp116x.h	Sat Jan 03 20:04:53 2015 +0100
+++ b/sys/usb/src.km/ucd/ethernat/isp116x.h	Sat Jan 03 20:30:45 2015 +0100
@@ -425,8 +425,6 @@
 # define readw(addr)		read_le16_reg((volatile unsigned short *)(addr))
 # define writew(b,addr)		write_le16_reg((volatile unsigned short *)(addr),(b))
 
-unsigned long p;	
-			 
 static inline void isp116x_write_addr(struct isp116x *isp116x, unsigned reg)
 {
 	raw_writew(reg & 0xff, isp116x->addr_reg );
diff -r 9b7cd20da434 -r e55aa706e8f4 sys/usb/src.km/ucd/netusbee/isp116x.h
--- a/sys/usb/src.km/ucd/netusbee/isp116x.h	Sat Jan 03 20:04:53 2015 +0100
+++ b/sys/usb/src.km/ucd/netusbee/isp116x.h	Sat Jan 03 20:30:45 2015 +0100
@@ -402,8 +402,6 @@
 #endif
 
 
-unsigned long p;	
-			 
 static inline void isp116x_write_addr(struct isp116x *isp116x, unsigned reg)
 {
 	u16 dumm;