From patchwork Fri Sep 10 16:05:02 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: 12485483 X-Patchwork-Delegate: kuba@kernel.org 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, USER_AGENT_GIT autolearn=unavailable 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 1073FC433F5 for ; Fri, 10 Sep 2021 16:08:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA8FD611F2 for ; Fri, 10 Sep 2021 16:08:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233140AbhIJQJR (ORCPT ); Fri, 10 Sep 2021 12:09:17 -0400 Received: from mail-dm6nam11on2073.outbound.protection.outlook.com ([40.107.223.73]:5472 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229877AbhIJQIL (ORCPT ); Fri, 10 Sep 2021 12:08:11 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JtISoqiPdNM9iyx3UuJkMPl4zVIYXKrXb/hgMOvJzr81AcfjXo6PoLxjuoqUyzbZ7u1QbZiLy94OTFJR26wN0M2JDLuG9dlYScF9WjTLll2YMfVzAWUV5YgM9Ab0Dyuc4rLOrtzqjl8o1W0iBjNv8DqhxXqA0ruVxguakE7CUJeqJNgjbwAdLsovV/LY7GwArSMX5yea1o6qV42feAwenLqEC3X4bCSiyeoaV4oCAS69VnpWDS9grc984PJb5W7n34AdMT3yNklH2wvUCuwL3PJY92DPLNA1xDgt2DPuIILhxVplqu8000E4GxRRrrONepnXaFeu8w6qRiMFXJnhHA== 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=WrB6UF8xnHVqVkVzbKOhIkbiJQaobIQ/ll4mczuM/8PU3xr1o7Cy7V7jxIC8Giga+KBe2qLvCezWVJUoRxjTEvlVn+HFrcN5FqKl+ICtf+nsX7XfLHPj+HH0f3Asfkg6TLVFNvqq9HVqSy9clN+sisLBi2PzEASgjHEJP0AyPHsxzsaJa5vOPxxPF6xbxDFnbvWrL7+EU5D6rj7pNZ5DEQmV0xWIog4/ixIZTQuwTBKRomidYTxDwF5XfsEky4XKekEV28JPTAfe9h9qqckd9tpgIkkPTs13f8SEDeE3swNWDf/4OUArBvXAp4hMqaeNtzDpA/PoK1JaFNXeVrqcTQ== 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=PXFUeXasAfCIPvLMZ89OgjgT61AIDfnN9JqcLGwriJB48iMTkfld966b30vyNp4ngfu3moX4RO0Ls1nQVvzLd6mTxcLHiXc3RmhWVf+xvjjxrYkpEuUajxhZRboUt4gK1ksHhb5k9VwHFJREnZ3rXdjd6vZJeXbl84ClyFIbu28= 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 SA2PR11MB5099.namprd11.prod.outlook.com (2603:10b6:806:f9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Fri, 10 Sep 2021 16:06:28 +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; Fri, 10 Sep 2021 16:06:28 +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 29/31] staging: wfx: remove useless comments after #endif Date: Fri, 10 Sep 2021 18:05:02 +0200 Message-Id: <20210910160504.1794332-30-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> References: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (2a01:e34:ecb5:66a0:9876:e1d7:65be:d294) by SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Fri, 10 Sep 2021 16:06:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d2f7835a-3722-49cb-70b1-08d97474f228 X-MS-TrafficTypeDiagnostic: SA2PR11MB5099: 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: hZx0K0gjuiLTJ1RlAQal8g58VOdJLel6WiecZbKSLiDjpr7JLAqbyiUi3S3FTihl8V1zUR9qUMWNsHzHSYOTDRmhj7L7KIX8chX+PyE6uyaSK1tQghUY33RH7Fmb8ASEZPWTvZF7sIKmE2hupBKy8w6+PKGMkUwsdaOiC0YZGOsmd9CifywEjyjcEU3HdNHh+LCdwjj7kSHpIaYHdxhlaFb+93NJfrB/McTKbd2ph1ZxkKL4Y/pQpu47Gw0AZAmuPiV4PSnMHvqz5Bi6Lqow/kXkl2JnKB+0dnISvGsRK5rKRL5nkF7suhkSX6YxpsuWeFHip0e+YWMMTFfeIynFDXmnk9kL3XaVd7FWe/Pia3PzGpqxbgngbOw5+sIkRRS1IBTxeA2+/xDQbstLjitgX3s1FuJelecXVIIXwYg8agrCs+h7X7wYL/0D6827qC7xjy1UaH4qEknVccpKmSUMgvHyjhLSFQGzGPvB1WLAmW2YEyA1v7dBh6Z0fMcOXuv3GuWai+Z4AoGQVTlXIZCM+eImUdl0RM1aNilAHfCh2zSAZ2FQQHeMwIMK5tPzy11quaGRfGSbhyyduV7qaqyY55Acvy9T24r2NPsfITEqJO+nfmxRr3+yTxp0QXMV3uXirNWOUWUV4DJD8hqWp7g7bg== 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)(376002)(39850400004)(396003)(136003)(346002)(83380400001)(316002)(66556008)(2906002)(6666004)(6486002)(86362001)(66946007)(54906003)(36756003)(1076003)(5660300002)(38100700002)(186003)(8936002)(66574015)(2616005)(4326008)(8676002)(66476007)(478600001)(52116002)(7696005)(107886003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?WjlrYuzDl56MjTpoNpRx4pu46G/o?= =?utf-8?q?iEeTRM5Z14AX8btLUp6fwaaVoLiIyENJwBOUMNNmbfreSp0FiJjIxdksZn/xV9elZ?= =?utf-8?q?fHk39jsE1xs3tj8BMX1UsQTemF4nW70k/BJrHDkA1rj1HguHU5OcMEMDxYzVCIcRa?= =?utf-8?q?1svGJDw8ltQJID18wXvRalfOCph0LKHkeGIedMmhA1al0SK+7AJOX32q1dPqe03K+?= =?utf-8?q?soE6h+5fTulhJBJS/4/fFAN2NjSqTegq/xs3MxU14Go9HNVRvs56D9sKYxfrixFCD?= =?utf-8?q?G/paYtpPs9+neNEk+2SjVHJlY03YDboZtyoEL3vxHFEk+TCp3iFhp0e3t8VafT6kD?= =?utf-8?q?wmoOUhEr6DycaBQeQWg9GnY6CsRwr++3+t1GW691j0T3zKGT+Rr42yOqBH4D9Y8KB?= =?utf-8?q?sr1QJFUxSi9yUSPxyQOOM0Qbe8vqpB5ITBNe8Amc6aWrRBqQDxTVV5+dTqXAbH3H6?= =?utf-8?q?AKCSEL4rFMn8RIMxzUKmuloDAhcNi2gymZhjAwTMZaB5eWaQZOXz+tkSdS0yqjPQe?= =?utf-8?q?xKdVpnbVIZHu5TD8xbkEDkzrLLT7CiyOH9Z5XWAAyOBX4P2lppJvZEL1YA81Nm3mr?= =?utf-8?q?RaGhNrsSWgO1Y1rSSEatioLOswSgk7rTMguNpsmaeUxeOZi/Mb2dBED9gpmxIM+fb?= =?utf-8?q?UlzMKdDl0vULRULcBrmvUIqkjMyQ3YGhQ71lc4zieZ1epHffP3dvivjMsq5ovyC1M?= =?utf-8?q?jnopw2ny2x1sguvgk5XE7VwhRJfLrByzlr/3pGPzlRvUrm13SQvmB01in2E6uKrC3?= =?utf-8?q?j30qXjHIfKR0WETfSvWPV9RxCmuY4nYXSQ2OgnPHOKO7e+u6i/v0UT6P8JsF/sysI?= =?utf-8?q?jBOKgN8Dw3nIG+pFKk3oCV0i06CG8eWgWSzyunORc3R4f3Ruu/DDf2jNJBDF7RhRA?= =?utf-8?q?zO9KUIy2lcmN4cEbksZ8qhNb4DvzdIHnaSoa3gC8KiQjt/SfTcGFFrQYKkuHlomhQ?= =?utf-8?q?ENJoUz4IeWRRoNBbyCNkwxfwV/0blGXhewsw2LgbPpAie+UHTFLCphi+gscVkawIg?= =?utf-8?q?ikd7f1ZP5tNJHU7UUzdRoLgKfl8F9q3tDDja0Vhs0N4Z4MOm+aZh07vdjTCfRzUrF?= =?utf-8?q?FgXWFN3EpVhvsxp5ZdmWpGVnNCIS0GeYZkvEWDjSFjN9eQKmBWpstF0N+kX65JJBA?= =?utf-8?q?79Nmoc9RwwUlsSxBe5rS7HOAtUzhtxTlPshdswVY1mbqEhm+WyM/55o7ODWcxZ3DP?= =?utf-8?q?1y5G7IlCAr7z5qf5ma6fl/s5cPNgUF0h5ONhKPVQq9cmgQMlHnTgVBdY20WrCFHjH?= =?utf-8?q?ZfBkLhPOVJmcxyiZRwH+ga/9vzkbspx1n7zCGM+ffKo4pF5vdvtJCL0lF6fLomrWH?= =?utf-8?q?jUoybLxy9ve9wX0?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2f7835a-3722-49cb-70b1-08d97474f228 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2021 16:06:27.9029 (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: sXqFjLORLLqbKaunVXWRrn8RAN0b/SXtVeCiHZcoXdQSQqhUvEFBSryrliFIszjhgsI/vQl485IiQeSsZaFYzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5099 Precedence: bulk List-ID: X-Mailing-List: netdev@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