Skip to contentSkip to conversation

staging: wfx: remove blank line

PATCH In review Payal Kshirsagar 2 participants 2 messages Mar 8, 2020 – Mar 9, 2020 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wfx: remove blank line

Blank line is not necessary before a close brace '}', remove it.

---
 drivers/staging/wfx/data_rx.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/wfx/data_rx.c +0 -1
index 5d198457c6ce..2a09f6b978c3 100644
@@ -62,7 +62,6 @@ static int wfx_drop_encrypt_data(struct wfx_dev *wdev,
 	memmove(skb->data + iv_len, skb->data, hdrlen);
 	skb_pull(skb, iv_len);
 	return 0;
-
 }
 
 void wfx_rx_cb(struct wfx_vif *wvif,
Signature · 1 line
2.17.1
#1 lore raw
Quoted 12 lines · On Mon, 9 Mar 2020 00:11:30 +0530 Payal Kshirsagar…

Blank line is not necessary before a close brace '}', remove it.

---
 drivers/staging/wfx/data_rx.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/wfx/data_rx.c +0 -0
index 5d198457c6ce..2a09f6b978c3 100644

drivers/staging/wfx/data_rx.c static int wfx_drop_encrypt_data(struct wfx_dev *wdev, · line 67

Quoted 7 lines
drivers/staging/wfx/data_rx.c +0 -1
@@ -62,7 +62,6 @@ static int wfx_drop_encrypt_data(struct wfx_dev *wdev,
 	memmove(skb->data + iv_len, skb->data, hdrlen);
 	skb_pull(skb, iv_len);
 	return 0;
-
 }
 
 void wfx_rx_cb(struct wfx_vif *wvif,

As you're removing one single blank line from a single function, for the future, the commit title could be more descriptive: "staging: wfx:
remove excess newline in wfx_drop_encrypt_data()". This might be subject to personal taste, though. Change looks good per se.

Same here, you should Cc: more people.

Signature · 1 line
Stefano