Commit 1c69be9f authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: usb_ops_linux.c: Add blank line between declaration and usage

This fixes a minor sparse warning.
Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 809d208b
...@@ -28,7 +28,6 @@ static int usbctrl_vendorreq(struct rtw_adapter *padapter, u8 request, ...@@ -28,7 +28,6 @@ static int usbctrl_vendorreq(struct rtw_adapter *padapter, u8 request,
{ {
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter);
struct usb_device *udev = pdvobjpriv->pusbdev; struct usb_device *udev = pdvobjpriv->pusbdev;
unsigned int pipe; unsigned int pipe;
int status = 0; int status = 0;
u8 reqtype; u8 reqtype;
...@@ -97,6 +96,7 @@ static int usbctrl_vendorreq(struct rtw_adapter *padapter, u8 request, ...@@ -97,6 +96,7 @@ static int usbctrl_vendorreq(struct rtw_adapter *padapter, u8 request,
padapter->bSurpriseRemoved = true; padapter->bSurpriseRemoved = true;
else { else {
struct hal_data_8723a *pHalData; struct hal_data_8723a *pHalData;
pHalData = GET_HAL_DATA(padapter); pHalData = GET_HAL_DATA(padapter);
pHalData->srestpriv.Wifi_Error_Status = pHalData->srestpriv.Wifi_Error_Status =
USB_VEN_REQ_CMD_FAIL; USB_VEN_REQ_CMD_FAIL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment