Message ID | 20220113085524.1110708-8-Jerome.Pouiller@silabs.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Johannes Berg |
Headers | show
Return-Path: <linux-wireless-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC264C433F5 for <linux-wireless@archiver.kernel.org>; Thu, 13 Jan 2022 08:56:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231858AbiAMI4M (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Thu, 13 Jan 2022 03:56:12 -0500 Received: from mail-mw2nam10on2077.outbound.protection.outlook.com ([40.107.94.77]:35104 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231301AbiAMI4B (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Thu, 13 Jan 2022 03:56:01 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cX0dkhsSL91imIXRfDCEwMqeEQCAeUMIjde38OMZqJllNAGUmrrOPYbAoytNJYhJT9PZpjxiBY1vm/Wy0ko8yiTsSd4XpYq/j7Hh2PZK3qKxziTqxfydZCu/OT6CoCdyjPFowlsD6dRomfpMhMbj0FJMtk3xBCHYBXXzoNyGe92+Zuf1um8Liw43+FkobkqFDl5MypuP+BvWnSyjPoJCiMTkE/PfYvyTeLtrftj1dKrWjWqBCVwfsSPfym6ozqwnxdY9vYGbXwsn3B0V+ViaYGm5n5pPntM3Gku7naW12yHyRGtWjLg0YdaxADSxLXOKFW65ZNGLLy7Ozx1u/BM7RQ== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=phBDzhaT40l9IgYtXB5/UWs/UEjXEIHwTOFXmYhCtvQ=; b=cYyJdjqIYykui3FmQvddHemdaFR3baSAOfiSL8Y7c4bKv7WRoOj32Jq6OPOAbJPFbwcHAkukhOZDHqXs55KBPx3GFGFkK6GjqNLGfaQ1FQWhHBTrUBZ1Xae57YQKY++q7kWXsjGh8fPOlAuw9VciiZKV+sJrUXNkg0b9IBuSJnn3hcpcQ2zcvsvgWSY/zeerqQgPd5j9oS3RvCQqtmXM4aYXUv1qsbm8P8c8YMG6PeS2uwbCEnUr1ITk0XhUmJujf8G0ahwRr50riWbcUpdEMlCPQd4SYgXoRGEiMdhtbcURqbMZHD6/a5hf9apu/X7kz95zv0AAyJ+F5c8r5s/GPw== 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=phBDzhaT40l9IgYtXB5/UWs/UEjXEIHwTOFXmYhCtvQ=; b=aaBKQyVYVxMC+ZOptfqhD17cROwKFpMjHutBVnNvC4F5ZN3t6aNTFgzo84YksX2KTSJPspNn6q74suFPC7XyVCXkG79Sp5AjdKAuqbqRTqRNsDtarPWbOWNW0xrTwp4lIevfQgaiPr2OdFye+yP+Z8h5gFrbfaifv6RNf5LEe3Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silabs.com; Received: from PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) by BY5PR11MB4040.namprd11.prod.outlook.com (2603:10b6:a03:186::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.10; Thu, 13 Jan 2022 08:55:51 +0000 Received: from PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::d031:da9e:71a:73e4]) by PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::d031:da9e:71a:73e4%5]) with mapi id 15.20.4888.011; Thu, 13 Jan 2022 08:55:51 +0000 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>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH 07/31] staging: wfx: remove useless #ifdef Date: Thu, 13 Jan 2022 09:55:00 +0100 Message-Id: <20220113085524.1110708-8-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220113085524.1110708-1-Jerome.Pouiller@silabs.com> References: <20220113085524.1110708-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: SA0PR11CA0117.namprd11.prod.outlook.com (2603:10b6:806:d1::32) To PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3dc276f2-1e3c-46e4-4a9b-08d9d6728033 X-MS-TrafficTypeDiagnostic: BY5PR11MB4040:EE_ X-Microsoft-Antispam-PRVS: <BY5PR11MB4040FC2C7595C86C4ED7AB4293539@BY5PR11MB4040.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /8n5Yfows5VF9WYEEd/UwZFBD5Ndg2/dENjcbUMEfEso/bamjMWPZea+Yofr6N15IwTHjHCqAJJ+Z6eb4B5J3r8Ry49BTbD7r7tdgK91JEdODX6Si8RL/SJjhWgZS87wELxZWjF6xvpZ41nXyb6T7tosvdn72mPdNp2Lmy+xwIPyhTs7YzV3OQAoG2C2IF22iuo7Bk0k3P0hlKgwYy98FL8DyFfF9I4npR3aemabh5OMe+G1BPj6BN6dPm+slacU6dNdvPadDZssCVwf7R3VCgT2vDphDxuhAe0webnErHldeKp8zsNI5Y6csP/ogrWnzAy9DWenxNMvQL12gnZJ+cUiVY4wUSZlc5ORz8R2yWkUlHQBxlzAwCPRg0k1gAR3xxVgc0yeTODc3dUZDdcK4SQXLJ1ACQFiGA/segm/yptYVhxHo+5FDkW/vOmGqMBJljE36uxUHAQOkMy5A+pOqW+wXuMQcHgCYAjxg+jDhiB1ssGgA3uEFHh97xtdTnDamurN9uXJKr+XfpzDJRyWI9e7xXkgXQQXHRakWMcJxieQCzI35vMrT9hXMMGUTYhxUZjeFGudUMkDKu/+XbezyC4/k8Cthr0U4bxMq0CB48WlE1X4R2pMtGYLUGR48j6RU80Gdx50E5LsEGYcxVquSg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5657.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(6506007)(508600001)(186003)(38100700002)(4744005)(4326008)(8936002)(6512007)(6666004)(66946007)(83380400001)(1076003)(2616005)(54906003)(86362001)(66556008)(2906002)(66476007)(316002)(52116002)(36756003)(5660300002)(8676002)(6486002)(107886003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?hhhWwP0Ir5RDkBHGyZzGWJEJM3/G?= =?utf-8?q?6rOjkevQarTAdDLBx9ZDLpXOknhlvDNr5mKi11lDBpw5U0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4aESbp6u0DAAFKglBuj?= =?utf-8?q?DvNipcsW8YrvtmezhARdqT2XUgAWFkzD8RW+SAzOf52kxd0z5vJkrObMFLaoIxvCd?= =?utf-8?q?D4pPX5gwZzOluSh6JyDk2qY+I/u8Z3o7lKkqG4fZL3GTZK24wqimSyDi8nRpPklxw?= =?utf-8?q?LBDuMvgUmdCNlK1lfglYNBbDyd3hV2hDdJAizn0Jk81YeeX+muWfzU1BeonqsAJKN?= =?utf-8?q?xpBXRoL9zM7MJyvygMzfteHxJWNZC40qOHjEJIuw7VQwaPZMKCErgYz1WPHq3Y6jl?= =?utf-8?q?mGZ5Qoe3Bb7F7EYExuQStePD9YduqEQIWxjTCFHo/US6hkAQnCw3TYtkg8sRnm3LN?= =?utf-8?q?+5X0yci/E27KLTWbFXDOu1R1gYVzz49g9xfWft7t6DeSEJFF6G4tkJJ0ZBazv3HBl?= =?utf-8?q?lOanVmB9g5J2pGijw3XUKs2vnzM4usgkPwI76MtmjcC/XjcD8g/TsT1QiF8dvV8qn?= =?utf-8?q?EuMhQqKMD6Afkj+NIbgbb37ND77mHe2ZfNmySgSSEQauowe0X8H2MUOVfFSMBKUY/?= =?utf-8?q?L+PaLfk3g6WeYu5SLQJuSOpaknWID5hZpPujIpZ1uHk9EPiPkR54yUhBaGLDHojWV?= =?utf-8?q?55Jlv3er2RqYeVyZ0BcFoTsQImM1qfWF1Vc4pL5Cc31b0EgYlc0Pu2dpABJmKHP9Y?= =?utf-8?q?BSP/n5b0ORZw5ShNX5ExkPT7N0KqQpfra8PsEB/zzHQfVC8w2m1m+g=3D?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3dc276f2-1e3c-46e4-4a9b-08d9d6728033 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5657.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2022 08:55:51.7283 (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: NSXoh1ySJmWqtqCmtZYKBfzVLfrY5V+m0ZkrW0SSFW9SwhnvJsR+uOSO+inozBvqqnRqnOkihRlsyA1oA7eC2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4040 Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
staging/wfx: apply suggestions from the linux-wireless review
|
expand
|
diff --git a/drivers/staging/wfx/hif_api_general.h b/drivers/staging/wfx/hif_api_general.h index 3e5c92e12d35..8244676112a5 100644 --- a/drivers/staging/wfx/hif_api_general.h +++ b/drivers/staging/wfx/hif_api_general.h @@ -8,14 +8,8 @@ #ifndef WFX_HIF_API_GENERAL_H #define WFX_HIF_API_GENERAL_H -#ifdef __KERNEL__ #include <linux/types.h> #include <linux/if_ether.h> -#else -#include <net/ethernet.h> -#include <stdint.h> -#define __packed __attribute__((__packed__)) -#endif #define HIF_ID_IS_INDICATION 0x80 #define HIF_COUNTER_MAX 7