Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8192e: remove the r8192E_dev.c's unnecessary brace

There is a unnecessary brace in r8192E_dev.c.Remove it to shorten
code and improve readability.

Signed-off-by: Chen shuo <1289151713@qq.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/tencent_1992979C468AF087A1909000C6D0D5E61207@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Chen shuo and committed by
Greg Kroah-Hartman
331fd192 324586a8

+1 -2
+1 -2
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
··· 1640 1640 if (stats->Length < 24) 1641 1641 stats->bHwError |= 1; 1642 1642 1643 - if (stats->bHwError) { 1643 + if (stats->bHwError) 1644 1644 return false; 1645 - } 1646 1645 1647 1646 stats->RxDrvInfoSize = pdesc->RxDrvInfoSize; 1648 1647 stats->RxBufShift = (pdesc->Shift) & 0x03;