From mboxrd@z Thu Jan 1 00:00:00 1970 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 7B346C48BDF for ; Fri, 11 Jun 2021 00:25:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61D34613CF for ; Fri, 11 Jun 2021 00:25:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231372AbhFKA1Y (ORCPT ); Thu, 10 Jun 2021 20:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231283AbhFKA1W (ORCPT ); Thu, 10 Jun 2021 20:27:22 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB761C061574 for ; Thu, 10 Jun 2021 17:25:09 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id f16-20020a05600c1550b02901b00c1be4abso7622895wmg.2 for ; Thu, 10 Jun 2021 17:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philpotter-co-uk.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=So2CEc+kXxpo6KPwbMFXBnm0as5qiNVoGbdgocDkXrs=; b=FVPVsj6H8jiwFTvqCBV6Q7azEEvVoXka3BIxnLZsswgLcFkxf1wdRkQQW5W1YqHts9 hg9q/IDpDm9ErFTZP+u7kSEO7ZaLQtQo9KWQ2SKOOp3E2WaVpEI4iVEVnnBTsXf5QCnt 4Ik3BdDr2IRfxpJWcil/gGoMpHWnsNNavDlbYIJDRXm7elbtajKg49YAPcgs5yR2y/71 PwvIUcQv3z87K7d1HKQLe8edC54mw86l1b7pZEDSeiWbhtNiLtuNeT09jHIYj3Mwz9Re ihqZci0IJRi1ZwrExNiBc33Myl43TA/T5anW1B186oS0aly2PSzx+gGwVF+gFeLpqplb CeZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=So2CEc+kXxpo6KPwbMFXBnm0as5qiNVoGbdgocDkXrs=; b=T2i6x/R55YMdPHe41l0DDn95cchDlcZC1D3qlfuo8GB4So2ya+2QYhfdLTC/iSK3pq QArGZXV5SG0MfloYgPUPU3I3ks4GGH/Mi92osVl3ZdInB2WQF5wuHuMMHhxkGhiGKj9D iAgTdXw1BCZGKsXCspasRaZRJ+OdByNPBkQaSGC8UAvTWNGGg2dYXDTQuh91MiGpliNR k1Z+qBJ7lCpmtOHsTH9NWbtjSuqZMikRFXiZ7nY6OAuy4W48JGai0Vkp6FENnWl7USgC 2ATurVozJqCAAM0tCee1qJ2tYHbOURO2PnuHMDUe6846vWTjYy1d7j/5CtHjbI8Soj70 37zQ== X-Gm-Message-State: AOAM531bclypCA20xcp23dthZA/h+hjQm7W1hzvv/uWiJh7rUKV7pZJH I5yGUD89F9GXIX5kQ+RLcdXJ+w== X-Google-Smtp-Source: ABdhPJxqzx4BA9U06ZQKnPocb5L3yHpRROlsOCY4ByVFQFoHRdcQL5+tNIfcPiLJMk2NAg346XrDKQ== X-Received: by 2002:a1c:4c04:: with SMTP id z4mr1215695wmf.47.1623371108280; Thu, 10 Jun 2021 17:25:08 -0700 (PDT) Received: from localhost.localdomain (2.0.5.1.1.6.3.8.5.c.c.3.f.b.d.3.0.0.0.0.6.1.f.d.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:df16:0:3dbf:3cc5:8361:1502]) by smtp.gmail.com with ESMTPSA id c2sm11386189wmf.24.2021.06.10.17.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 17:25:07 -0700 (PDT) From: Phillip Potter To: gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, straube.linux@gmail.com, kaixuxia@tencent.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, liushixin2@huawei.com, unixbhaskar@gmail.com, gustavoars@kernel.org, martin@kaiser.cx, bkkarthik@pesu.pes.edu, dan.carpenter@oracle.com Subject: [PATCH 0/6] staging: rtl8188eu: remove hal/odm_debug.h Date: Fri, 11 Jun 2021 01:24:58 +0100 Message-Id: <20210611002504.166405-1-phil@philpotter.co.uk> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series removes hal/odm_debug.h, which contains various preprocessor definitions, as well as an unwieldy ODM_RT_TRACE macro which is not best practice. It also removes all uses of this macro, and the associated fields in struct odm_dm_struct which are only used by this macro. This makes the code cleaner, thus moving it closer to getting out of staging. Phillip Potter (6): staging: rtl8188eu: remove ODM_RT_TRACE calls from hal/phy.c staging: rtl8188eu: remove ODM_RT_TRACE calls from hal/hal8188e_rate_adaptive.c staging: rtl8188eu: remove ODM_RT_TRACE calls from hal/odm_rtl8188e.c staging: rtl8188eu: remove ODM_RT_TRACE calls from hal/odm.c staging: rtl8188eu: remove DebugComponents/DebugLevel from odm_dm_struct staging: rtl8188eu: remove include/odm_debug.h .../rtl8188eu/hal/hal8188e_rate_adaptive.c | 123 +------------- drivers/staging/rtl8188eu/hal/odm.c | 150 ++---------------- drivers/staging/rtl8188eu/hal/odm_rtl8188e.c | 6 - drivers/staging/rtl8188eu/hal/phy.c | 38 +---- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 2 - drivers/staging/rtl8188eu/hal/usb_halinit.c | 5 - drivers/staging/rtl8188eu/include/odm.h | 2 - drivers/staging/rtl8188eu/include/odm_debug.h | 83 ---------- .../staging/rtl8188eu/include/odm_precomp.h | 4 - 9 files changed, 14 insertions(+), 399 deletions(-) delete mode 100644 drivers/staging/rtl8188eu/include/odm_debug.h -- 2.30.2