From: Jerome Pouiller <Jerome.Pouiller@silabs.com>
To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Kalle Valo" <kvalo@codeaurora.org>,
"David S . Miller" <davem@davemloft.net>,
"Jérôme Pouiller" <jerome.pouiller@silabs.com>
Subject: [PATCH v3 29/32] staging: wfx: remove useless comments after #endif
Date: Mon, 13 Sep 2021 15:02:00 +0200 [thread overview]
Message-ID: <20210913130203.1903622-30-Jerome.Pouiller@silabs.com> (raw)
In-Reply-To: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com>
From: Jérôme Pouiller <jerome.pouiller@silabs.com>
Comments after the last #endif of header files don't bring any
information and are redundant with the name of the file. Drop them.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
---
drivers/staging/wfx/bh.h | 2 +-
drivers/staging/wfx/data_rx.h | 2 +-
drivers/staging/wfx/data_tx.h | 2 +-
drivers/staging/wfx/debug.h | 2 +-
drivers/staging/wfx/fwio.h | 2 +-
drivers/staging/wfx/hwio.h | 2 +-
drivers/staging/wfx/key.h | 2 +-
drivers/staging/wfx/queue.h | 2 +-
drivers/staging/wfx/scan.h | 2 +-
drivers/staging/wfx/sta.h | 2 +-
drivers/staging/wfx/wfx.h | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/wfx/bh.h b/drivers/staging/wfx/bh.h
index f08c62ed039c..6c121ce4dd3f 100644
--- a/drivers/staging/wfx/bh.h
+++ b/drivers/staging/wfx/bh.h
@@ -30,4 +30,4 @@ void wfx_bh_request_rx(struct wfx_dev *wdev);
void wfx_bh_request_tx(struct wfx_dev *wdev);
void wfx_bh_poll_irq(struct wfx_dev *wdev);
-#endif /* WFX_BH_H */
+#endif
diff --git a/drivers/staging/wfx/data_rx.h b/drivers/staging/wfx/data_rx.h
index f79545c06130..84d0e3c0507b 100644
--- a/drivers/staging/wfx/data_rx.h
+++ b/drivers/staging/wfx/data_rx.h
@@ -15,4 +15,4 @@ struct hif_ind_rx;
void wfx_rx_cb(struct wfx_vif *wvif,
const struct hif_ind_rx *arg, struct sk_buff *skb);
-#endif /* WFX_DATA_RX_H */
+#endif
diff --git a/drivers/staging/wfx/data_tx.h b/drivers/staging/wfx/data_tx.h
index dafd8fef44cf..15590a8faefe 100644
--- a/drivers/staging/wfx/data_tx.h
+++ b/drivers/staging/wfx/data_tx.h
@@ -65,4 +65,4 @@ static inline struct hif_req_tx *wfx_skb_txreq(struct sk_buff *skb)
return req;
}
-#endif /* WFX_DATA_TX_H */
+#endif
diff --git a/drivers/staging/wfx/debug.h b/drivers/staging/wfx/debug.h
index 6f2f84d64c9e..4b9c49a9fffb 100644
--- a/drivers/staging/wfx/debug.h
+++ b/drivers/staging/wfx/debug.h
@@ -16,4 +16,4 @@ const char *get_hif_name(unsigned long id);
const char *get_mib_name(unsigned long id);
const char *get_reg_name(unsigned long id);
-#endif /* WFX_DEBUG_H */
+#endif
diff --git a/drivers/staging/wfx/fwio.h b/drivers/staging/wfx/fwio.h
index 6028f92503fe..eeea61210eca 100644
--- a/drivers/staging/wfx/fwio.h
+++ b/drivers/staging/wfx/fwio.h
@@ -12,4 +12,4 @@ struct wfx_dev;
int wfx_init_device(struct wfx_dev *wdev);
-#endif /* WFX_FWIO_H */
+#endif
diff --git a/drivers/staging/wfx/hwio.h b/drivers/staging/wfx/hwio.h
index 9a361ed95ecb..ff09575dd1af 100644
--- a/drivers/staging/wfx/hwio.h
+++ b/drivers/staging/wfx/hwio.h
@@ -72,4 +72,4 @@ int control_reg_write_bits(struct wfx_dev *wdev, u32 mask, u32 val);
int igpr_reg_read(struct wfx_dev *wdev, int index, u32 *val);
int igpr_reg_write(struct wfx_dev *wdev, int index, u32 val);
-#endif /* WFX_HWIO_H */
+#endif
diff --git a/drivers/staging/wfx/key.h b/drivers/staging/wfx/key.h
index dd189788acf1..2d135eff7af2 100644
--- a/drivers/staging/wfx/key.h
+++ b/drivers/staging/wfx/key.h
@@ -17,4 +17,4 @@ int wfx_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
struct ieee80211_vif *vif, struct ieee80211_sta *sta,
struct ieee80211_key_conf *key);
-#endif /* WFX_STA_H */
+#endif
diff --git a/drivers/staging/wfx/queue.h b/drivers/staging/wfx/queue.h
index 54b5def2e24c..edd0d018b198 100644
--- a/drivers/staging/wfx/queue.h
+++ b/drivers/staging/wfx/queue.h
@@ -42,4 +42,4 @@ unsigned int wfx_pending_get_pkt_us_delay(struct wfx_dev *wdev,
struct sk_buff *skb);
void wfx_pending_dump_old_frames(struct wfx_dev *wdev, unsigned int limit_ms);
-#endif /* WFX_QUEUE_H */
+#endif
diff --git a/drivers/staging/wfx/scan.h b/drivers/staging/wfx/scan.h
index 562ca1321daf..78e3b984f375 100644
--- a/drivers/staging/wfx/scan.h
+++ b/drivers/staging/wfx/scan.h
@@ -19,4 +19,4 @@ int wfx_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
void wfx_cancel_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
void wfx_scan_complete(struct wfx_vif *wvif, int nb_chan_done);
-#endif /* WFX_SCAN_H */
+#endif
diff --git a/drivers/staging/wfx/sta.h b/drivers/staging/wfx/sta.h
index f359f375cc56..4d7e38be4235 100644
--- a/drivers/staging/wfx/sta.h
+++ b/drivers/staging/wfx/sta.h
@@ -70,4 +70,4 @@ int wfx_update_pm(struct wfx_vif *wvif);
void wfx_reset(struct wfx_vif *wvif);
u32 wfx_rate_mask_to_hw(struct wfx_dev *wdev, u32 rates);
-#endif /* WFX_STA_H */
+#endif
diff --git a/drivers/staging/wfx/wfx.h b/drivers/staging/wfx/wfx.h
index a4770f59f7d2..f8df59ad1639 100644
--- a/drivers/staging/wfx/wfx.h
+++ b/drivers/staging/wfx/wfx.h
@@ -161,4 +161,4 @@ static inline int memzcmp(void *src, unsigned int size)
return memcmp(buf, buf + 1, size - 1);
}
-#endif /* WFX_H */
+#endif
--
2.33.0
next prev parent reply other threads:[~2021-09-13 13:05 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-13 13:01 [PATCH v3 00/32] staging/wfx: usual maintenance Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 01/32] staging: wfx: use abbreviated message for "incorrect sequence" Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 02/32] staging: wfx: do not send CAB while scanning Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 03/32] staging: wfx: ignore PS when STA/AP share same channel Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 04/32] staging: wfx: wait for SCAN_CMPL after a SCAN_STOP Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 05/32] staging: wfx: avoid possible lock-up during scan Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 06/32] staging: wfx: drop unused argument from hif_scan() Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 07/32] staging: wfx: fix atomic accesses in wfx_tx_queue_empty() Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 08/32] staging: wfx: take advantage of wfx_tx_queue_empty() Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 09/32] staging: wfx: declare support for TDLS Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 10/32] staging: wfx: fix support for CSA Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 11/32] staging: wfx: relax the PDS existence constraint Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 12/32] staging: wfx: simplify API coherency check Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 13/32] staging: wfx: update with the firmware API 3.8 Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 14/32] staging: wfx: uniformize counter names Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 15/32] staging: wfx: fix misleading 'rate_id' usage Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 16/32] staging: wfx: declare variables at beginning of functions Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 17/32] staging: wfx: simplify hif_join() Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 18/32] staging: wfx: reorder function for slightly better eye candy Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 19/32] staging: wfx: fix error names Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 20/32] staging: wfx: apply naming rules in hif_tx_mib.c Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 21/32] staging: wfx: remove unused definition Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 22/32] staging: wfx: remove useless debug statement Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 23/32] staging: wfx: fix space after cast operator Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 24/32] staging: wfx: remove references to WFxxx in comments Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 25/32] staging: wfx: update files descriptions Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 26/32] staging: wfx: reformat comment Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 27/32] staging: wfx: avoid c99 comments Jerome Pouiller
2021-09-13 13:01 ` [PATCH v3 28/32] staging: wfx: fix comments styles Jerome Pouiller
2021-09-13 13:02 ` Jerome Pouiller [this message]
2021-09-13 13:02 ` [PATCH v3 30/32] staging: wfx: explain the purpose of wfx_send_pds() Jerome Pouiller
2021-09-13 13:02 ` [PATCH v3 31/32] staging: wfx: indent functions arguments Jerome Pouiller
2021-09-13 13:02 ` [PATCH v3 32/32] staging: wfx: ensure IRQ is ready before enabling it Jerome Pouiller
2021-09-13 14:12 ` [PATCH v3 00/32] staging/wfx: usual maintenance Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210913130203.1903622-30-Jerome.Pouiller@silabs.com \
--to=jerome.pouiller@silabs.com \
--cc=davem@davemloft.net \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).