[PATCH 0/3] staging: r8188eu: Fix -Wuninitialized instances from clang

From: Nathan Chancellor
Date: Thu Aug 12 2021 - 16:40:48 EST


Hi all,

Commit 987219ad34a6 ("staging: r8188eu: remove lines from Makefile that
silence build warnings") exposed some instances of -Wuninitialized in
this driver. This series cleans them up. This passes my build tests with
GCC and clang against x86_64 allmodconfig.

Cheers,
Nathan

Nathan Chancellor (3):
staging: r8188eu: Remove unused static inline functions in rtw_recv.h
staging: r8188eu: Remove uninitialized use of ether_type in portctrl()
staging: r8188eu: Reorganize error handling in rtw_drv_init()

drivers/staging/r8188eu/core/rtw_recv.c | 4 --
drivers/staging/r8188eu/include/rtw_recv.h | 46 ----------------------
drivers/staging/r8188eu/os_dep/usb_intf.c | 20 +++++-----
3 files changed, 10 insertions(+), 60 deletions(-)


base-commit: 626520f4ba27d92c8caaf2d1f70c4bca4ea3f9de
--
2.33.0.rc2