Re: [PATCH] Staging: rtl8723bs: Remove typedef in struct sdio_data

From: Dan Carpenter
Date: Wed Apr 10 2019 - 02:50:13 EST


On Tue, Apr 09, 2019 at 11:16:17AM -0500, Madhumitha Prabakaran wrote:
> diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h
> index bafb2c30e7fb..b0623c936940 100644
> --- a/drivers/staging/rtl8723bs/include/drv_types.h
> +++ b/drivers/staging/rtl8723bs/include/drv_types.h
> @@ -220,7 +220,7 @@ struct registry_priv
> #define BSSID_SZ(field) sizeof(((struct wlan_bssid_ex *) 0)->field)
>
> #include <drv_types_sdio.h>
> -#define INTF_DATA SDIO_DATA
> +#define INTF_DATA struct sdio_data
>

Just get rid of INTF_DATA data as well. It's only used once a bit lower
in the file. (Get rid of the ifdef around it).

regards,
dan carpenter