[PATCH 1/6] staging: rtl8192e: Remove code dependent on RTL8190P

Dan Carpenter error27 at gmail.com
Tue Jul 12 21:26:31 UTC 2011


> @@ -1712,25 +1602,6 @@ void rtl8192_query_rxphystatus(
>  	{
>  
>  		u8 report;
> -#ifdef RTL8190P
> -		u8 tmp_pwdb;
> -		char cck_adc_pwdb[4];
> -#endif
> -		priv->stats.numqry_phystatusCCK++;
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Did you intend to remove that?

> -
> -#ifdef RTL8190P
> -		if (priv->rf_type == RF_2T4R && DM_RxPathSelTable.Enable && bpacket_match_bssid)
> -		{
> -			for (i=RF90_PATH_A; i<RF90_PATH_MAX; i++)
> -			{
> -				tmp_pwdb = pcck_buf->adc_pwdb_X[i];
> -				cck_adc_pwdb[i] = (char)tmp_pwdb;
> -				cck_adc_pwdb[i] /= 2;
> -				pstats->cck_adc_pwdb[i] = precord_stats->cck_adc_pwdb[i] = cck_adc_pwdb[i];
> -			}
> -		}
> -#endif
> -
>  		if (!reg824_bit9)

regards,
dan carpenter




More information about the devel mailing list