From patchwork Fri Nov 22 20:52:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adham Abozaeid X-Patchwork-Id: 11258407 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0936E913 for ; Fri, 22 Nov 2019 20:52:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D3E442071B for ; Fri, 22 Nov 2019 20:52:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="XJtsaUO0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727088AbfKVUwJ (ORCPT ); Fri, 22 Nov 2019 15:52:09 -0500 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:44168 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbfKVUwI (ORCPT ); Fri, 22 Nov 2019 15:52:08 -0500 Received-SPF: Pass (esa2.microchip.iphmx.com: domain of Adham.Abozaeid@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa2.microchip.iphmx.com; envelope-from="Adham.Abozaeid@microchip.com"; x-sender="Adham.Abozaeid@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com -exists:%{i}.spf.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa2.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa2.microchip.iphmx.com; envelope-from="Adham.Abozaeid@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa2.microchip.iphmx.com; spf=Pass smtp.mailfrom=Adham.Abozaeid@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: F7mSMRb62Rq3eUjw7T5HQkEOL/RT1rpoIKeWxDbF29tHkvb/Tfd+jl79VAfbWjyUrjV2cF2KFd QXurxTfLscefQe91agjYzsDjPesd/RnI1pCrlL6rbbbEb3GZYKbqsCjdyrMz+SYfKTTTjoUCKw uMtUcGqLtXT1X8xc+sVYCa4Jc2OOs4tZnnmZmJEDX/XREb4DKzOgLKPDegiYyanux2M9lSvK6e GWZtG7C/+/lBYCyF+BHlpNNAu9HOoDpqhDqeQKn/LX9a3HXNDl+7kQWLrNd5bul81I30vWIYg8 Gio= X-IronPort-AV: E=Sophos;i="5.69,231,1571727600"; d="scan'208";a="57656081" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Nov 2019 13:52:06 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 22 Nov 2019 13:52:05 -0700 Received: from NAM05-DM3-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 22 Nov 2019 13:52:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cyaBF41HQRdX9Qip+ZCECGNR8OSwRKXDVEKgNBVbI4tMTTseLhPzaPgYR3dLzyzBV8cqz3SywDtjZS3FAoxyE2Ve/LdgPe/QpqWZKpJPLx/8pHMzXf09zCMkcajqFe/mSKa0XlrifUdckcqv5IRCNOpRTgWvMwZHiZEAVp+MhUscDu5AEfbSCOuV/92ET+cIWV8G8fdUuOOq1JVxfZzcJd6UKYvt1HSEbysbKgXzT+bUcZ2i8U2704eapl5FPAnyHlxTyT9n4WSy6Up2CvcLqw7DYPXuDEKbHLkr90nDtDF3OdP3eQ6gGcQfwnE49SwLUVsSZLeUbnjINGIzSyiuaQ== 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-SenderADCheck; bh=M8l9OOnlkaNKKKbZaHBKEbZ+g4S73lTXxxpFOJ7dkA8=; b=L4+xhCJFap9fmwVrEOlppCq8uuJC5i2NcFOIxrDH0haP/bn4UWGUHPEX9fLZBh0cBvShVKqVMNrKeAFHzjH93T2H/Qi69GpyQyR+fHEkYsYYMVyldWJ+0mEpA5qDkN0veE99QNWqoKiYWymLF5BicDWFthcB7hAYvOZKQZXSyVI00oOsvQl7E1VUygK8qN59DKO5rJ+ds8dE0UsgSlScwaqQvKgnvPgG4DCfJfuanYs0FK8RfNrGb8VHtHhDWtOyKkue+RHL2w83LOTMCSRxto3j5sV+bm9SYboxM6YcSLGbza647zdIufw94g+uYCzjv1X33UqRTsXTpVjcsswNhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M8l9OOnlkaNKKKbZaHBKEbZ+g4S73lTXxxpFOJ7dkA8=; b=XJtsaUO0lTHKZ/ycYdjkIzTila7Dw3isow8SRbhvQKhNAnvSh2T/nzDLUgPu9S7NEoztQsolHcHhWUcg2faJ4L1lcVH04QOAO94mld1dKJ55zWD6dFreodPwnjCDrwYV8epxNE5i4wBylFzXz1Uq8jg4xZC7qmCeJ4/sHXh8xM0= Received: from MWHPR11MB1373.namprd11.prod.outlook.com (10.169.234.141) by MWHPR11MB1472.namprd11.prod.outlook.com (10.172.54.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.22; Fri, 22 Nov 2019 20:52:03 +0000 Received: from MWHPR11MB1373.namprd11.prod.outlook.com ([fe80::fc6d:2ed:d470:fb56]) by MWHPR11MB1373.namprd11.prod.outlook.com ([fe80::fc6d:2ed:d470:fb56%8]) with mapi id 15.20.2474.019; Fri, 22 Nov 2019 20:52:03 +0000 From: To: CC: , , , Subject: [PATCH 2/4] staging: wilc1000: remove unused compile time featurization Thread-Topic: [PATCH 2/4] staging: wilc1000: remove unused compile time featurization Thread-Index: AQHVoXaxgl+u+j+wVUmgsItc7XtH1w== Date: Fri, 22 Nov 2019 20:52:03 +0000 Message-ID: <20191122205153.30723-2-adham.abozaeid@microchip.com> References: <20191122205153.30723-1-adham.abozaeid@microchip.com> In-Reply-To: <20191122205153.30723-1-adham.abozaeid@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [198.175.253.81] x-clientproxiedby: BYAPR03CA0028.namprd03.prod.outlook.com (2603:10b6:a02:a8::41) To MWHPR11MB1373.namprd11.prod.outlook.com (2603:10b6:300:25::13) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 80091b0c-16a9-43f5-69f5-08d76f8dd3d8 x-ms-traffictypediagnostic: MWHPR11MB1472: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2000; x-forefront-prvs: 02296943FF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(396003)(136003)(346002)(366004)(376002)(189003)(199004)(316002)(66946007)(7736002)(8936002)(107886003)(81156014)(81166006)(186003)(66556008)(6486002)(26005)(66066001)(99286004)(6506007)(76176011)(5640700003)(4326008)(6436002)(52116002)(71190400001)(71200400001)(1076003)(5660300002)(14454004)(6916009)(11346002)(2501003)(102836004)(2906002)(386003)(6512007)(446003)(25786009)(54906003)(66446008)(50226002)(3846002)(36756003)(66476007)(256004)(64756008)(2351001)(2616005)(8676002)(6116002)(86362001)(478600001)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR11MB1472;H:MWHPR11MB1373.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: =?iso-8859-1?q?q6VMaHa0xt0gZ7+cJvPQLu1v7B?= =?iso-8859-1?q?R9g2Hh0kiMgE2+DSx3vKIypx77n2G7Y37+bRV1BD0AJS5kUzU8sbiO5lM3Rh?= =?iso-8859-1?q?wg6zEqNqnlV1tOWQGkZfAykNkauK/CYlnLahB7j5MGJYcUHze9b/MT3yVuMY?= =?iso-8859-1?q?D7jZCdWcBbslaPCmDbb/XCQlB9WKwMIB5EqZe0lzoQzg5AUyN/M/EJgq7PRC?= =?iso-8859-1?q?7UXTr7TTGKmjf8uhr9M1JPYzjn6piJFJrq5Hsa/hYBHUH5pRDvD8n2ftnJGl?= =?iso-8859-1?q?g9vMeAYjetDGromzfKRZcZOAsOOz8YCRjJBgLTcZiOnyBe7CsCzedopKKh9I?= =?iso-8859-1?q?AGVbArGtD/DbM0nPNN/wqoFghmggYc3ufJ86xwXITmgn67AdxD9Za6H/qESF?= =?iso-8859-1?q?+6vYDg9juyEHzBGhVHH7JPxKOLY13PwLAG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qSx5DD3cSu9dI?= =?iso-8859-1?q?K6rwduBqoP12qprO9xGy5KyhpoEMgLnN+kztzko/kH0zT2Va+eap4K1eeT9v?= =?iso-8859-1?q?aymmU2ZQ1v892Q3s5mTojLwpZ2gcR8hzSJtihI/E7kwe5koxTN7Ax8Mx6JPQ?= =?iso-8859-1?q?m7+/51Kbc3V0Kx0TA7G1CN/pCZadep024RELlSLmd39svXOVbCACSkeuh+5n?= =?iso-8859-1?q?zDXuGyv/PWgYSkRVTRj/cAmdqI+2XakPYfI5DlvSwu97GlvYAfMW9v27mAb6?= =?iso-8859-1?q?wpvFkaCHsT//MHTlENRHd+QjS5lrSoMTnqNfrWgbPI6qaOAjqJrBwyk5RQ1s?= =?iso-8859-1?q?/1wYnd8TYTm2B3xYmWyn7BgPQx9+Nda8ps11BfyNRijHC+pIenX6cjPa7Vc8?= =?iso-8859-1?q?1oW3hL0yAf5baPPBBoPSVF8UHf13bBEldxga0ozJBW/UU3DlqY/QWzYngkZW?= =?iso-8859-1?q?eFBRDvWVBp1S/QRwNNXfkquUzJki5KZkxJ3pc9LhNwFg=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 80091b0c-16a9-43f5-69f5-08d76f8dd3d8 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2019 20:52:03.4230 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ut1Ju4pyCIzvXcSLGjeQBKCgSFsGrouKZaM/vt4/T4jSFhaHMEIIbRvunjzT/BTqpvm9+dWfiyIYKofNhQT5pnOzGBVTrHKCe7X5X1bkJrw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1472 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Ajay Singh Removed the unused compile type featurization. It's not recommended to have compile type feature. Currently removing these defines as they are not used. If any of these parameters are needed later should be added using run time feature. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wlan.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/drivers/staging/wilc1000/wlan.c b/drivers/staging/wilc1000/wlan.c index d3de76126b78..ba5446724c93 100644 --- a/drivers/staging/wilc1000/wlan.c +++ b/drivers/staging/wilc1000/wlan.c @@ -890,29 +890,6 @@ int wilc_wlan_start(struct wilc *wilc) if (wilc->io_type == WILC_HIF_SDIO && wilc->dev_irq_num) reg |= WILC_HAVE_SDIO_IRQ_GPIO; -#ifdef WILC_DISABLE_PMU -#else - reg |= WILC_HAVE_USE_PMU; -#endif - -#ifdef WILC_SLEEP_CLK_SRC_XO - reg |= WILC_HAVE_SLEEP_CLK_SRC_XO; -#elif defined WILC_SLEEP_CLK_SRC_RTC - reg |= WILC_HAVE_SLEEP_CLK_SRC_RTC; -#endif - -#ifdef WILC_EXT_PA_INV_TX_RX - reg |= WILC_HAVE_EXT_PA_INV_TX_RX; -#endif - reg |= WILC_HAVE_USE_IRQ_AS_HOST_WAKE; - reg |= WILC_HAVE_LEGACY_RF_SETTINGS; -#ifdef XTAL_24 - reg |= WILC_HAVE_XTAL_24; -#endif -#ifdef DISABLE_WILC_UART - reg |= WILC_HAVE_DISABLE_WILC_UART; -#endif - ret = wilc->hif_func->hif_write_reg(wilc, WILC_GP_REG_1, reg); if (!ret) { release_bus(wilc, WILC_BUS_RELEASE_ONLY);