Commit 0157403e authored by Philipp Hoefflin's avatar Philipp Hoefflin Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: reformat makro ps_confirm_wait_inc()



Reformat the makro ps_confirm_wait_inc() to fix several checkpatch
errors and warnings:
  - ERROR: space required before the open brace '{'
  - ERROR: space required before the open parenthesis '('
  - ERROR: code indent should use tabs where possible
  - ERROR: space required after that close brace '}'
  - ERROR: space required before the open parenthesis '('
  - WARNING: line over 80 characters
  - WARNING: please, no spaces at the start of a line

Signed-off-by: default avatarPhilipp Hoefflin <p.hoefflin@posteo.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ec9d6dce
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -1294,7 +1294,8 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *packet)
	return result;
}

#define ps_confirm_wait_inc(priv)  do{if(atomic_read(&priv->psstatus.status) > PS_ACTIVE_SET){ \
#define ps_confirm_wait_inc(priv) do { \
	if (atomic_read(&priv->psstatus.status) > PS_ACTIVE_SET) { \
		atomic_inc(&priv->psstatus.confirm_wait); \
		/* atomic_set(&priv->psstatus.status, PS_CONF_WAIT);*/ \
	} } while (0)