mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
staging: ks7010: remove unnecessary parentheses
Remove unnecessary parentheses reported by checkpatch. Signed-off-by: Matt McCoy <mattmccoy110@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d31f6b8043
commit
45a50ab1d6
@ -35,7 +35,7 @@ static inline u8 get_byte(struct ks_wlan_private *priv)
|
|||||||
{
|
{
|
||||||
u8 data;
|
u8 data;
|
||||||
|
|
||||||
data = *(priv->rxp)++;
|
data = *priv->rxp++;
|
||||||
/* length check in advance ! */
|
/* length check in advance ! */
|
||||||
--(priv->rx_size);
|
--(priv->rx_size);
|
||||||
return data;
|
return data;
|
||||||
@ -171,7 +171,7 @@ int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info *ap_info)
|
|||||||
"- rate_set_size=%d\n",
|
"- rate_set_size=%d\n",
|
||||||
ap->bssid[0], ap->bssid[1], ap->bssid[2],
|
ap->bssid[0], ap->bssid[1], ap->bssid[2],
|
||||||
ap->bssid[3], ap->bssid[4], ap->bssid[5],
|
ap->bssid[3], ap->bssid[4], ap->bssid[5],
|
||||||
&(ap->ssid.body[0]),
|
&ap->ssid.body[0],
|
||||||
ap->rate_set.body[0], ap->rate_set.body[1],
|
ap->rate_set.body[0], ap->rate_set.body[1],
|
||||||
ap->rate_set.body[2], ap->rate_set.body[3],
|
ap->rate_set.body[2], ap->rate_set.body[3],
|
||||||
ap->rate_set.body[4], ap->rate_set.body[5],
|
ap->rate_set.body[4], ap->rate_set.body[5],
|
||||||
@ -732,7 +732,7 @@ void hostif_scan_indication(struct ks_wlan_private *priv)
|
|||||||
netdev_dbg(priv->net_dev, " scan_ind_count=%d :: aplist.size=%d\n",
|
netdev_dbg(priv->net_dev, " scan_ind_count=%d :: aplist.size=%d\n",
|
||||||
priv->scan_ind_count, priv->aplist.size);
|
priv->scan_ind_count, priv->aplist.size);
|
||||||
get_ap_information(priv, (struct ap_info *)(priv->rxp),
|
get_ap_information(priv, (struct ap_info *)(priv->rxp),
|
||||||
&(priv->aplist.ap[priv->scan_ind_count - 1]));
|
&priv->aplist.ap[priv->scan_ind_count - 1]);
|
||||||
priv->aplist.size = priv->scan_ind_count;
|
priv->aplist.size = priv->scan_ind_count;
|
||||||
} else {
|
} else {
|
||||||
netdev_dbg(priv->net_dev, " count over :: scan_ind_count=%d\n",
|
netdev_dbg(priv->net_dev, " count over :: scan_ind_count=%d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user