From: Philipp Hortmann Date: Mon, 23 Oct 2023 06:40:04 +0000 (+0200) Subject: staging: rtl8192e: Remove unused variables from union tspec_body X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6e4b8282dd9e12a2de3aeb62492061ee6ea2ced7;p=linux.git staging: rtl8192e: Remove unused variables from union tspec_body Remove unused variables to shorten code. Signed-off-by: Philipp Hortmann Link: https://lore.kernel.org/r/ffeb86f15454ec17d7fc2ce66151393b6757d0a7.1698042685.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl819x_Qos.h b/drivers/staging/rtl8192e/rtl819x_Qos.h index 7f086b7a1b88b..ac321952f7b3d 100644 --- a/drivers/staging/rtl8192e/rtl819x_Qos.h +++ b/drivers/staging/rtl8192e/rtl819x_Qos.h @@ -15,25 +15,8 @@ union qos_tsinfo { }; union tspec_body { - u8 charData[55]; - struct { union qos_tsinfo ts_info; - u16 NominalMSDUsize; - u16 MaxMSDUsize; - u32 MinServiceItv; - u32 MaxServiceItv; - u32 InactivityItv; - u32 SuspenItv; - u32 ServiceStartTime; - u32 MinDataRate; - u32 MeanDataRate; - u32 PeakDataRate; - u32 MaxBurstSize; - u32 DelayBound; - u32 MinPhyRate; - u16 SurplusBandwidthAllowance; - u16 MediumTime; } f; };