Author: hselasky
Date: Mon Dec 16 09:23:21 2013
New Revision: 259458
URL: http://svnweb.freebsd.org/changeset/base/259458

Log:
  MFC r258083:
  Remove a couple of unused macros.

Modified:
  stable/9/sys/dev/usb/wlan/if_runreg.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/usb/wlan/if_runreg.h
==============================================================================
--- stable/9/sys/dev/usb/wlan/if_runreg.h       Mon Dec 16 09:07:09 2013        
(r259457)
+++ stable/9/sys/dev/usb/wlan/if_runreg.h       Mon Dec 16 09:23:21 2013        
(r259458)
@@ -932,31 +932,6 @@ static const struct rt2860_rate {
 };
 
 /*
- * Control and status registers access macros.
- */
-#define RAL_READ(sc, reg)                                              \
-       bus_space_read_4((sc)->sc_st, (sc)->sc_sh, (reg))
-
-#define RAL_WRITE(sc, reg, val)                                                
\
-       bus_space_write_4((sc)->sc_st, (sc)->sc_sh, (reg), (val))
-
-#define RAL_BARRIER_WRITE(sc)                                          \
-       bus_space_barrier((sc)->sc_st, (sc)->sc_sh, 0, 0x1800,          \
-           BUS_SPACE_BARRIER_WRITE)
-
-#define RAL_BARRIER_READ_WRITE(sc)                                     \
-       bus_space_barrier((sc)->sc_st, (sc)->sc_sh, 0, 0x1800,          \
-           BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE)
-
-#define RAL_WRITE_REGION_1(sc, offset, datap, count)                   \
-       bus_space_write_region_1((sc)->sc_st, (sc)->sc_sh, (offset),    \
-           (datap), (count))
-
-#define RAL_SET_REGION_4(sc, offset, val, count)                       \
-       bus_space_set_region_4((sc)->sc_st, (sc)->sc_sh, (offset),      \
-           (val), (count))
-
-/*
  * EEPROM access macro.
  */
 #define RT2860_EEPROM_CTL(sc, val) do {                                        
\
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "[email protected]"

Reply via email to