staging: rtl8188eu: don't cast when calling rtw_set_fixed_ie()
authorLuca Ceresoli <luca@lucaceresoli.net>
Tue, 22 Sep 2015 21:50:37 +0000 (23:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:27:22 +0000 (04:27 +0200)
commit3e4e8e025c374959538d37a812a7c20f7aa8a5c1
treeb2bdac2fd3320ed15e37a178b7ea7b0199087e92
parent3441d08ca20a390ab0484c11bd69f2a75e702774
staging: rtl8188eu: don't cast when calling rtw_set_fixed_ie()

The 'pbuf' and 'source' arguments to rtw_set_fixed_ie() are (void *), the
explicit typecasts are not needed. They just make code less readable.

Also fix checkpatch issues in the lines touched:
  ERROR: space prohibited before that ',' (ctx:WxW)
  WARNING: line over 80 characters
  CHECK: Unnecessary parentheses around <var>

Note: some of the modified lines are still over 80 characters because they
are not fixable by just adding newlines. They will be fixed in a later
patch.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c