From patchwork Mon Sep 13 08:30:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 12488259 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19C3FC433FE for ; Mon, 13 Sep 2021 08:34:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 053CF60FBF for ; Mon, 13 Sep 2021 08:34:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238508AbhIMIfw (ORCPT ); Mon, 13 Sep 2021 04:35:52 -0400 Received: from mail-mw2nam08on2066.outbound.protection.outlook.com ([40.107.101.66]:47168 "EHLO NAM04-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238163AbhIMIeW (ORCPT ); Mon, 13 Sep 2021 04:34:22 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DyYaUarUF81lv3881U6RexRii6aPUjQRCKfwxjyPo0t0UEs36LoOiadmROECf6qATiasGFNkaoR1kHmNRUDunauNbwmQ11g0wVMaWfsx789qM1YP1VdvWpmXqRLvOLl9NzTYynTl4DGel1ijtrZ/i+1sHRXn4I5PHUl93XjnlN8Ac/PEoowmzb6TYhfWTXqJiSW5jVOLhSjnXm7iIPB8luHoVpFiDnkDibI5fdkS7mOzL6aoKBLtGoJlF5ASthft9hh1OSLE11ll1V6D+cvQWG/y9Ly8KUELvh9Gq6/b2fYJAoT9uRaU7vrYBAbavlXtbQj3LmNyjBw+LNvca72J3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=cfofvTSkHjYDsU3jyU6ThliW4B7lrnRRP6krW+vV/8o=; b=ek6QrKdnWmtzkm1/IqQ//vMiDYIKm+ATpHzC3tvqJpxK2Gmyt3MY4cJEL5KfGxZlefGajc2++Af1t8Erjj5Rwf/DrWP7u8VWD+j4GBeR1VFrwUqigSNgwCzZYBwphgAHcnktU0z512/vhFjbshVow8DXpyRcfoqq27NcGcr70MnR7UkbDzxgRh2bnR92j34vd2PXGDPx09dn+v0NHpDw3XfN5NMXHA4ACEtTsoZYmibWcZt2HJLhssmwz/EZlKv7GKObo8YRvfG4MWbZnisN1XCyu7HiwRKwN588qfG1XzZl2ZA4gJOOIdxnLwPrwfQCeRUazaT+9rfqxAB3+MAjbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cfofvTSkHjYDsU3jyU6ThliW4B7lrnRRP6krW+vV/8o=; b=UsnhylLmXxxfSxc7ER0IkVSfZgZrIj51eJ7Qg3eAxyR2AgtUzK3aY8ZiVD8A3VavBrsjcUrJA875TdL7EFSeffpxVBL68EZ9JcCDln3CxpDjllOnFjf2T6VL9q0Bbkbazv0i1EwyY+tDarJL0gMHVj9Mo2EKyKAVC4b0Q1PZ0v0= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none;driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SN6PR11MB2717.namprd11.prod.outlook.com (2603:10b6:805:60::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Mon, 13 Sep 2021 08:32:01 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd%7]) with mapi id 15.20.4500.017; Mon, 13 Sep 2021 08:32:01 +0000 From: Jerome Pouiller To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kalle Valo , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH v2 29/33] staging: wfx: remove useless comments after #endif Date: Mon, 13 Sep 2021 10:30:41 +0200 Message-Id: <20210913083045.1881321-30-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913083045.1881321-1-Jerome.Pouiller@silabs.com> References: <20210913083045.1881321-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PAZP264CA0067.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1fd::10) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PAZP264CA0067.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1fd::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 08:31:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0e4e8c5c-50e7-49ae-20d0-08d97690f286 X-MS-TrafficTypeDiagnostic: SN6PR11MB2717: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1417; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BxzM1wBOmycT53nxqcIExwbhfdqNJ7d+WUCX3xbzuvEOEXFnk8V23v0AXYN0dRUaShqUn38rTPbS2sBKscMfvfH8rDRvG4C4ScHMM7N7S5dJRBJP4bsh8SOvLyv+YV/PqT5nqm6ADehAj5YkIo/UQHBdy7OVAut6zCsWgjF/8A1mid4/k4x5aUnbPcBhQkuoN8IVO4MoXMcUrF9K8ggd1UwyNtkY380sotJfFC5jE6Bnmc3BKDdkiWNb9p7bPbP+YfeTbgJC4rzyEK9MyQTLNw+CSgrpZBLpf1TLqfvFB2v6RLHxi9LEA44hRLq+km53aUtoappJYet8TD+qS73Hu62g6do+6cdtTsk1dE9BYaSf3i+e0Uck7uIRDx1tF/SG76yMB9Cm2GlXS0Gp2V1g2Wggxgdjw+p7gYnjPbhreqNne+8Vgqsdc6tslNBxXKxOcFziSaw5DDJPnS/uGAML8SF7co3PRKtaQCRROXwYdB5p+Xxz+JqQRHEfg4n7bDhSBajj5KE0urwif3CW4rbjLfkWcmn395c1GaYCn1ggZafYXnlsAjVud3Yt0NgSgSinLQvanI6p8LO47atYsotnbOfDBFKExDfvviKdUer3AsuCFRt0+HhJ5EvNimRqNVJfLCKQkAZOemL/shllFSoSPfIMEtVLeACBtOC+ciO4l/QZEBKYep6Q8syZmMh8cmaT02arkuhgDUBhG8w/snme6g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR11MB2718.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(4326008)(2906002)(107886003)(26005)(66946007)(38100700002)(52116002)(7696005)(1076003)(956004)(36756003)(316002)(8676002)(38350700002)(186003)(8936002)(83380400001)(54906003)(66556008)(66476007)(508600001)(6486002)(5660300002)(6666004)(86362001)(2616005)(66574015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?/wn0ZswRVK73maodqwQSmdQ3f88m?= =?utf-8?q?TZB0biV3aXEKoLuoRS95bXSIrmRjWtj5LCmRrC55W/90M2ZyGRQT6mkC8NFHb1Hmu?= =?utf-8?q?XCmoX3Mn7hqd0Pqh6+OOYhjGD0UAjAahwrx3q5UK1RENUXrwHTpbdDeAVfWihwVdz?= =?utf-8?q?/FKIgO1ThqZ2Vk0ULw95NBQ4NWG5II6eet9zxApxCMfc+O8x7TfpEhrdGeyNrDn55?= =?utf-8?q?m6SQOi2pUXP0CxOlNlyt2dMTXKQDhoWiZODrWA5kcgV4hu5WdOY7SITIcP/TXE6gw?= =?utf-8?q?sM9o+njK4968gcsqtNM7uw+tV4VVp+YxIYTyf/ILCf5wHWWzNBikeNKMePqLc/Wmh?= =?utf-8?q?6HSV5cmFXgBEnqhLpmyrym7gnkwufg6SG9RjKpD/owRIma6WGYsm+LNsQN8OlXBrL?= =?utf-8?q?hU7vcHUBfJxR15JwXrFByV727S26eRLsglXuSFUtywmiFAlvLvftmL/5BWE5IHYUn?= =?utf-8?q?WOVwPhdGQlCUPOU7TO0sNdpUDCSA1l7E3CaAlYeeEGr//HhAPm8RxF2bjbgQXDAKL?= =?utf-8?q?W0w+haGhY3HZ4bsFjjA35WeSgHUfiI1DRSLQSBJ29hN+wLwW42V26K3WL0ExkCi6R?= =?utf-8?q?ndgpjw15eyGmSotRC+Dr8d5nWhQpQ7Do67fLgF8xB4MQad0bVLtkjE+gdqOXXH3iy?= =?utf-8?q?bl1jmikVp/OOLt+m/RcdxRZpyPmbcoazX+TE1Mb/HAtnhdnLwkJWlJ/iigqW5vTLq?= =?utf-8?q?iwjLaW9oMxRa7n2i4JY4a0iE/LQjyfvDdxb/s8OniqXto+Rx7sJ/wks1MbT7QkwkD?= =?utf-8?q?g5GmkEkLbJK937nSYZKs7l1YYHZYqA+iLf96gcTAGgMzrP3IQxrFlGltZYzq6XKNx?= =?utf-8?q?b4tCUWQDHxXCBoTNyPR9KxSuUGDrQYUyd4gP6US+JumThjxxKkOqetWOCYgQmaWLG?= =?utf-8?q?LBAzz0lQ8rL4ZirlAsEShKAk8FSaeJ6zn+nJDsaaR4jYBI3QzBeetfXq3mg41YjQy?= =?utf-8?q?BWIXIvANvl7vJFG269rxWvkawWdVOLOjei9FJoPu2u0vMS7jrRyjpgeJtgxMG5e+j?= =?utf-8?q?37s/5aF3EA7vSziOF6wUtB+Q/M/TLoCWwReOWQPFSkZSlPPzaBPaMdp6Z9sFXSslB?= =?utf-8?q?zAVp5Gbae+kel+oWycrd2sMoBz0vG05BGqq08apA/ZJ0kdJDs40GSdTfcvdEHo0iw?= =?utf-8?q?PByxoTMZwpazrNNVyUtVsUFuhyl1JSTSg10E9qP6uLvP/rbDDLT/JObgoSfU/ZJSR?= =?utf-8?q?2OOwmfjJ0kvaItnxRGkRNtxQnV2zv6Uhrnhju27jUQ9KdozsLOX807eAeExMcd6TV?= =?utf-8?q?en0JSiKzMCzSZWrr?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e4e8c5c-50e7-49ae-20d0-08d97690f286 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 08:31:56.7219 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hpWrfVaN78eSV95thShGGtUWuZtLyRrE9b/SVXRX7v3U5+3ljw4LdikbBmnqwmbznqyoGKolmdpuS+Za5BcKeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2717 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller 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 --- 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