From b812982e6b9ce3797f160ad3778766db107b5086 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristina=20Mart=C5=A1enko?= Date: Tue, 11 Mar 2014 20:58:14 +0200 Subject: [PATCH] staging: rtl8188eu: explicitly convert from __le16 to integer MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Peter P Waskiewicz Jr --- Reading git-format-patch failed