Commit d680d24e authored by Katie Dunne's avatar Katie Dunne Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: remove unecessary spaces after casts



Remove spaces after casts found by checkpatch.pl. In some cases,
remove returns after casts and place them on a single line.

Signed-off-by: default avatarKatie Dunne <kdunne@mail.ccsf.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8f4d00cd
Loading
Loading
Loading
Loading
+102 −104
Original line number Original line Diff line number Diff line
@@ -380,8 +380,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
				priv->rx_size = priv->rx_size - 8;
				priv->rx_size = priv->rx_size - 8;
				if (auth_type > 0 && auth_type < 4) {	/* auth_type check */
				if (auth_type > 0 && auth_type < 4) {	/* auth_type check */
					MichaelMICFunction(&michel_mic, (uint8_t *)priv->wpa.key[auth_type - 1].rx_mic_key, (uint8_t *)priv->rxp, (int)priv->rx_size, (uint8_t)0,	/* priority */
					MichaelMICFunction(&michel_mic, (uint8_t *)priv->wpa.key[auth_type - 1].rx_mic_key, (uint8_t *)priv->rxp, (int)priv->rx_size, (uint8_t)0,	/* priority */
							   (uint8_t *)
							   (uint8_t *)michel_mic.Result);
							   michel_mic.Result);
				}
				}
				if (memcmp(michel_mic.Result, RecvMIC, 8)) {
				if (memcmp(michel_mic.Result, RecvMIC, 8)) {
					now = jiffies;
					now = jiffies;
@@ -1726,8 +1725,7 @@ void hostif_sleep_request(struct ks_wlan_private *priv, unsigned long mode)
			return;
			return;
		}
		}
		pp->header.size =
		pp->header.size =
		    cpu_to_le16((uint16_t)
		    cpu_to_le16((uint16_t)(sizeof(*pp) - sizeof(pp->header.size)));
				(sizeof(*pp) - sizeof(pp->header.size)));
		pp->header.event = cpu_to_le16((uint16_t)HIF_SLEEP_REQ);
		pp->header.event = cpu_to_le16((uint16_t)HIF_SLEEP_REQ);


		/* send to device request */
		/* send to device request */