staging: r8188eu: remove unnecessary initialization to zero
authorMichael Straube <straube.linux@gmail.com>
Sat, 20 Aug 2022 18:16:16 +0000 (20:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Aug 2022 13:42:46 +0000 (15:42 +0200)
commitb9a0b94f63df952f6034a96a4142edb32b2a12f2
treecd8baa848744a55098a7ee6c31a47628d626b416
parentfa808149cac7a24f4eba16946635ec3231a1c775
staging: r8188eu: remove unnecessary initialization to zero

The initialization to zero of the variable 'len' in rtw_pktfile_read()
is not needed. It is immediately set to another value. Remove the
initialization to zero. While at it, remove an extra space.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220820181623.12497-13-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c