[PATCH V2 2/6] staging: rtl8712: simplify size calculation

2015-07-27 Thread Joshua Clayton
...@spectrumdigital.se Cc: de...@driverdev.osuosl.org, linux-ker...@vger.kernel.org Subject: [PATCH V2 2/6] staging: rtl8712: simplify size calculation Date: Mon, 27 Jul 2015 07:31:50 -0700 Message-Id: 1438007514-9228-3-git-send-email-stillcompil...@gmail.com X-Mailer: git-send-email 2.4.6 In-Reply

[PATCH V2 2/6] staging: rtl8712: simplify size calculation

2015-07-27 Thread Joshua Clayton
replace item-by-item size calculation of a struct with the size of the struct. This gets rid of a use of typedef NDIS_802_11_RATES_EX Signed-off-by: Joshua Clayton stillcompil...@gmail.com diff --git a/drivers/staging/rtl8712/rtl871x_cmd.c b/drivers/staging/rtl8712/rtl871x_cmd.c index