staging: rtl8712: simplify size calculation
authorJoshua Clayton <stillcompiling@gmail.com>
Thu, 6 Aug 2015 00:17:15 +0000 (17:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Aug 2015 22:14:03 +0000 (15:14 -0700)
commit881edf67b26813f91288790bbb575c570b9de901
tree599f8b8dc35c7325ae80ab0fcbdecbdcfdcb024c
parent4063ea9af6d287975732a0c992e7fe870591d365
staging: rtl8712: simplify size calculation

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 <stillcompiling@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_cmd.c