staging: r8188eu: correct set/defined but unused warnings from debug cleanup
[linux-block.git] / drivers / staging / rtl8188eu / core / rtw_sreset.c
1 // SPDX-License-Identifier: GPL-2.0
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7
8 #include <rtw_sreset.h>
9 #include <usb_ops_linux.h>
10
11 void rtw_hal_sreset_init(struct adapter *padapter)
12 {
13         struct sreset_priv *psrtpriv = &padapter->HalData->srestpriv;
14
15         psrtpriv->wifi_error_status = WIFI_STATUS_SUCCESS;
16 }
17
18 void sreset_set_wifi_error_status(struct adapter *padapter, u32 status)
19 {
20         padapter->HalData->srestpriv.wifi_error_status = status;
21 }