summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/core/rtw_sreset.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-29staging: rtl8188eu: remove unused sreset_get_wifi_status()Michael Straube1-27/+0
The function sreset_get_wifi_status() is never used, so remove it. Discovered by cppcheck. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-26staging: rtl8188eu: add SPDX identifiersMichael Straube1-9/+1
This satisfies a checkpatch warning and is the preferred method for notating the license. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-20staging: r8188eu: remove GET_HAL_DATA macroIvan Safonov1-6/+3
GET_HAL_DATA replaced by its definition. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-12staging: r8188eu: rename sreset_init_value to rtw_hal_sreset_initIvan Safonov1-1/+1
And remove two one-line wrappers. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-28staging: rtl8188eu: Remove license paragraph with mailing addressKyle Kuffermann1-5/+0
This fixes the issue reported by checkpatch.pl: "Do not include the paragraph about writing to the Free Software Foundation's mailing address from the sample GPL notice. The FSF has changed addresses in the past, and may do so again. Linux already includes a copy of the GPL." in all files for the rtl8188eu driver. Signed-off-by: Kyle Kuffermann <kyle.kuffermann@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-16Staging: rtl8188eu: Remove parentheses around right side an assignmentHaneen Mohammed1-1/+1
Parentheses are not needed around the right hand side of an assignment. This patch remove parenthese of such occurenses. Issue was detected and solved using the following coccinelle script: @rule1@ identifier x, y, z; expression E1, E2; @@ ( x = (y == z); | x = (E1 == E2); | x = -( ... -) ; ) Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Move usb_[read, write]() declarations to usb_ops_linux.hnavin patidar1-0/+1
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove function _rtw_read32()navin patidar1-1/+1
_rtw_read32() is a wrapper function, being used to call usb_read32(). Call usb_read32() directly and drop _rtw_read32(). Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove "last_tx_complete_time" from struct sreset_privnavin patidar1-1/+0
value stored in variable last_tx_complete_time isn't being used by driver. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove "last_tx_time" from struct sreset_privnavin patidar1-1/+0
value stored in variable last_tx_time isn't being used by driver. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused function reset_reset_value()navin patidar1-9/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu:Remove "silent_reset_inprogress" from struct sreset_privnavin patidar1-4/+0
psrtpriv->silent_reset_inprogress is always false. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove "silentreset_mutex" from struct sreset_privnavin patidar1-1/+0
silentreset_mutex initialized but not being used. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-09staging: r8188eu: Remove wrappers _rtw_free_sema, _rtw_up_sema, and ↵Larry Finger1-1/+1
_rtw_mutex_init Any routines that are empty as a result of these changes are also removed. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-22staging: r8188eu: Add files for new driver - part 6Larry Finger1-0/+79
This commit adds core/rtw_security.c, core/rtw_sreset.c, and core/rtw_sta_mgt.c. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>