Revert "Revert "Staging: rtl8812ae: remove modules field of rate_control_ops""
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2014 15:11:49 +0000 (11:11 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2014 16:53:32 +0000 (12:53 -0400)
This reverts commit 161d7855543520cde5f49df788b0ea0553a9f83a.

Reversal of fortune -- I thought this was going to be resolved by other
means, but that hasn't materialized.  Plus, apparently we now care more
than I realized about not breaking staging drivers...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/staging/rtl8821ae/rc.c

index d387f13..0cc32c6 100644 (file)
@@ -286,7 +286,6 @@ static void rtl_rate_free_sta(void *rtlpriv,
 }
 
 static struct rate_control_ops rtl_rate_ops = {
-       .module = NULL,
        .name = "rtl_rc",
        .alloc = rtl_rate_alloc,
        .free = rtl_rate_free,