Fix sysctl support in Linux 2.6.24
[madwifi/.git] / ath_rate / amrr / amrr.c
index 7b16703c9cf993361879bf5a605d53a572a1f70e..9d12af871cdd3d7271cc3d0d141b595ab0ff5042 100644 (file)
@@ -485,14 +485,9 @@ static int minrateinterval = 500;  /* 500ms */
 static int maxint = 0x7fffffff;                /* 32-bit big */
 static int min_threshold = 1;
 
-#define        CTL_AUTO        -2      /* cannot be CTL_ANY or CTL_NONE */
-
 /*
  * Static (i.e. global) sysctls.
  */
-enum {
-       DEV_ATH         = 9,                    /* XXX known by many */
-};
 
 static ctl_table ath_rate_static_sysctls[] = {
        { .ctl_name     = CTL_AUTO,