From patchwork Mon Sep 13 13:02:00 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: 12489025 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 62F9FC433F5 for ; Mon, 13 Sep 2021 13:05:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4AD4F60FA0 for ; Mon, 13 Sep 2021 13:05:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239905AbhIMNG4 (ORCPT ); Mon, 13 Sep 2021 09:06:56 -0400 Received: from mail-dm6nam10on2042.outbound.protection.outlook.com ([40.107.93.42]:9633 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240008AbhIMNFb (ORCPT ); Mon, 13 Sep 2021 09:05:31 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MjGT9TSCdR28qrGrEOuQJ1CHyzbGL6EwK8qz8arl07MBgkElZJsNlR24NVzamV40MDVZZVqOy4Iocdrd3VdvalEIOon26VSpvx9b1YlR4EGtptPF0bPvLVtGCkNWuIm0ma5i1q6c03RCnMoLp0jsj4ydUb6/baGG5co+isClGDWIIT4NFOFoZZAJvCCYDbqT48s4YXFhK4AE7AhbkaXkt13EdjcXJPzYCNqka23Vevpcsg/jqHIPYggW+3dNgtF827OqCK2xmS2v1ARJUnfQlGHY9RqatiJC/Vx+bqhPG+CmLpayQ3TYpuj9p3WZ7ZLSrf+42q4hWsA8tMG4S9ZWyg== 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=oD7BUreyrakiIKjxkGGAD3nNAcE3ie/xFvszm5zf/3/vmPLo5zqmQPvYCQxL/2eAZHT7wsXnIIYFydE9j1+WxgGR1bQA0EpsTfP5vrjQ8y/++aT/sq8NAffdUP+nsjADRkA7xpAHoVIdJjhPV5UyigyaHOKXZBBx4IoXj3e/E7jsaPhsNEM8VLuUmVEMYkQkjaiBiXJiSICHS/X6yiyi44FTpGM/ha+yR+GrQMd1NkPgfqfOtX6l1t3yyChytQYKHAUIs28VSRGaYM7HziZao0chB/X39OGBuQ325CS3kdq4SWuhWA4L8ALxI9/Yok/XKsan+hbizmtF3HrHLkblrg== 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=lqKee5FjaJUwjy97Esu9G8INWIvIDQg20ZEHtEVxOqB6lP2KZbQHv+tVEI3O09WiLKoqnGnx87/9NE2fGzXbIgbfdjUcSFuHBqxU8NZlGI07BkVD0SvVud0Dj+byPXWHSVKO9Hg73epRsFymD6NsbRWuhGty6YeaUd71Jb7s5WE= 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 SN6PR11MB3502.namprd11.prod.outlook.com (2603:10b6:805:da::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Mon, 13 Sep 2021 13:03:12 +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 13:03:12 +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 v3 29/32] staging: wfx: remove useless comments after #endif Date: Mon, 13 Sep 2021 15:02:00 +0200 Message-Id: <20210913130203.1903622-30-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> References: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) 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 PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) 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 13:03:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6c126864-061d-45e3-fef6-08d976b6d769 X-MS-TrafficTypeDiagnostic: SN6PR11MB3502: 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: QN4ueOhni6wMhs+kF3sw9Dh7QKJBzA/xNhBtfaJwVI2OPCU16CoZ+PWb9e1NQ+KPYeBMvcYAFj+l+KqNRXmE4NkAy5oj2E2Z5eHcmmnoLJm2twgAbjdcj9GmHYJ5zwVwByBGeNnrlptUp8jRwBOkFtU9J5I/ncR7lTJ6XBSEtm6uCqZ/PX/fH1i59+/gXzNpPAB4Le3E5rWUoJ7y+Rw1I5esCEWQjhjB0/x68ni7nT9K0neZwB1XQ03bQiBsNySTka7I74OwkAA2JAsE5xJbetXSMzuMRVuMgeMObVoR8ho/14Eich3IdudRJr8MYsPnWv0CD71Bakyentjds7gl+9h1x1JEukNXmhUr0CaYVPE2zLsDkdCoFvh108ZrIA5id9Y4n5FqcVss3dqvutkQryNYJZMqeKGbWpehx695yO6lv5EeZ9Z3kF5wkmiNXzx0PlYwVPUtvk/bFGzsZdCx+uobWtKTn14k964tcAKqgMFIqFHCd0yBh6m1IVhdLKMJFjXYpksASkOVVIyi1gKRhboaI856t4uK8WFuHIAr2l8OLklA+xqkG9h5ow5d6SnTuVq0f1yPKeFq5xjHAfwEVdSJZLSYSwxCmLXFUdcJp0Hs8mWzFSPzWldCUOX/V0yzG4WKb7ZZyD5d99R6Jj8M2XtYAbQsVVCSkP+JP0MFybeOpwnCk2WB+oHuS7QwW/zcWSyw8YBFkf/Uvlids54Rbg== 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:(39850400004)(136003)(396003)(376002)(346002)(366004)(6666004)(316002)(66476007)(8676002)(186003)(7696005)(52116002)(66946007)(26005)(4326008)(66556008)(2906002)(54906003)(107886003)(6486002)(2616005)(478600001)(1076003)(36756003)(5660300002)(66574015)(956004)(8936002)(86362001)(38100700002)(38350700002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?BrJo2FDYfRnbMih5/2OgdJyx85Ju?= =?utf-8?q?eP8dLz3nGSuNWP2/kx5Plbj/ezdvT1QvBeEgTvfl9Ekon1Aw/fW8igJTjlLIcZdM9?= =?utf-8?q?jYc1x03QeDIEKftCHycQwqoS/WVoVFbIyue1KPskI29WFeHRN6+3XYS7M5KC5uCb8?= =?utf-8?q?G5Cp27DjYbECyeXGJYrzAVJs+lw8FFjxzcEfVMJTcVHPULbPaBmHEews77+WmD5my?= =?utf-8?q?jYjbHoP+CvHYdv1nmMb8dRhc4KvJZjfJ6D9FwJghbm1FQ8B2bDL4GfY3WBk9lSYx0?= =?utf-8?q?1gxffgApwL3Rp/3bVIaaiIWP1KQ3TIBGqGQjbEL+Q2w6qKflMdqk+xicZWcHU/djj?= =?utf-8?q?Kcs32x1tmITnXbu9A35aLEdOoXkArXybYBktHY+ZWoVPurefVbILW2LHJFRY9sH1O?= =?utf-8?q?VlaIO9XqgY4a7pDvasQmRLQBmuRJ8TdJBFgfrFFGlgwzwoKir1Mc4Q6MM8Q4oEz5v?= =?utf-8?q?6CKrhJZqoNwjoT7iA7GFX5FiU99lUcLf1PPAWvz2tAsYM4vV5tX/5kJ6xG07fDnHa?= =?utf-8?q?S/rAb4g82QDyvjNlVQ2CTFNbf2OYvEp7fxqyhMk5sScJ2uoX/3Uh2G73IYOm6xrMh?= =?utf-8?q?NKPwuT+tV4HmlHZga5DikZYGI7cBHKUoqHA8EYWOitJFM0yz9X1umReOKS2uczvJ4?= =?utf-8?q?ePDvDyF8x3AMAPclpAvp6Tq9A7KCXA9g1y1eUJkpLUOOOqUtXHtpUQAfqUPM/0+Ai?= =?utf-8?q?lrSk004bLPN/mbYfPnpGrZuEMs68U5SMN37SELvdueCzzkV/8xPm1A5OeVtRHhadZ?= =?utf-8?q?76xNdG2tJsZdc4NEtpLve0D3+wNE83mH2jFo0d1iPOQHAoLObwn9PxQq4nSPihFsl?= =?utf-8?q?ChzxJDf/p18FIOX1jPXk/WZAsccPFOF1DZVviRa76YGXfQdWysVa/kS4t5OfhMqTU?= =?utf-8?q?DfvAqE5TZyqL9tEwzZP61lUH+SxuF+6iwemJ1sGcwlKGBlBpW6aSQlHH9mLW0O5hP?= =?utf-8?q?sO93BwZeSLwUxOZguAWfeAkmQyCouh49C//V/dvkhM31TNo8e0TG0kmODYu0hXdLd?= =?utf-8?q?h6XTamB2MREgTjF1l5A+te3zMiGrvZqJftxl4OjQJ1kqUKsaA0GOeHOTrFDyx7gPR?= =?utf-8?q?jSX3PaH0JZBlYUU1qfxIKa+vBFMgNg0cTB62weO64swzvLwAvRPzwpbzQpZ7eH5Om?= =?utf-8?q?pU2XViUsgcelzhxEJzzLtiT8IfAgAKvC7Oi22xf535AsmoRQgAVpSSOt2k3c7/mu/?= =?utf-8?q?Vo3gFpcTOyCfu56sXL+kCWBNIQW3BOfk09GFcAdKU4NKMiZb7MJW30O2dxdYIomil?= =?utf-8?q?8vua6QawuOfesTO2?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c126864-061d-45e3-fef6-08d976b6d769 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 13:03:12.0998 (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: pBZ7Ef/OZ4QUB7lsf8niZ4Pyop4u5oKPkwhLHQWN8pWLg9L48jJxz3/bOyPxxse5vznYD3PVNfp8lGlZMEOusw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3502 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