diff options
| author | Kristina Martšenko <kristina.martsenko@gmail.com> | 2014-03-11 20:58:14 +0200 |
|---|---|---|
| committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2014-03-13 16:24:19 -0700 |
| commit | b812982e6b9ce3797f160ad3778766db107b5086 (patch) | |
| tree | 92fbae58306fa7bba2d01010b50f521b7b37ebe0 /scripts/ver_linux | |
| parent | 17e65fbbe2100937530c3c1ea672c922377496ab (diff) | |
staging: rtl8188eu: explicitly convert from __le16 to integer
BA_para_set (of type __le16) is implicitly cast into an integer for
bitwise operations, after which the result is converted back into a
__le16. Make the initial cast explicit to make the code clearer. In
addition, refactor the code for readability.
This also removes five sparse warnings of the following type:
drivers/staging/rtl8188eu//core/rtw_mlme_ext.c:6114:70: warning: restricted __le16 degrades to integer
Signed-off-by: Kristina Martšenko <kristina.martsenko@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Diffstat (limited to 'scripts/ver_linux')
0 files changed, 0 insertions, 0 deletions
