staging: rtl8188eu: remove exit label from rtw_alloc_stainfo
authorMichael Straube <straube.linux@gmail.com>
Sun, 27 Oct 2019 13:06:01 +0000 (14:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2019 15:40:24 +0000 (16:40 +0100)
commit0c9f72227c76891d6cb1f2a8b70e393601fc8493
treee34cc9e358843508a943f1c81d5cfc3142993acf
parentcce430450e190e06bac680fe1dbec1f9bf891343
staging: rtl8188eu: remove exit label from rtw_alloc_stainfo

Remove exit label from rtw_alloc_stainfo and simply return NULL
instead of goto exit.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20191027130604.68379-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c