Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2288012pxf; Sat, 27 Mar 2021 07:26:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsR4/gPIpiMFWBsiVm5GOwwHH9CPuC6Pijklkds4RfKj6NhT0PQbYw9n+ZtaqqFiKC2OL1 X-Received: by 2002:a05:6402:1cc1:: with SMTP id ds1mr20307234edb.135.1616855219782; Sat, 27 Mar 2021 07:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616855219; cv=none; d=google.com; s=arc-20160816; b=qvQ6jK16b9Y6cjQGNWYhZQzmslgB/UwWi7fO9kc4Bbuyvcf/ONLl8DHEmI94GvrBQV 5OAq9JJQD8pnMlj3WFj1fLoEzDUy+YcVnWSTK7/GEHYTBuqIAhPZrmKVMutqXc1L2Y7L lvGmtcgMOhE+C0dKe7/RsyuELNedLMDb0NeZ1fXpk6nCQVa3pUqoDJQVp5iCjocsFvIJ Wfzl0WgX5husfbif+rnCvB2wsxPX+9emtmk5BV05KaCH+gZcnKCSQjXgazEXCND/PVbv ry9n6TJtfNGkdUWnQjQ1KlPiQqnEZ2+e8k2op9j+qaGTph8cfrsuF6Rwkp/eHkQOV/FN hffQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+B50OlP0mbNlY3ZpuKmy0PR0wesCkBEM9mRsTuG7r/s=; b=MPOGVO6Yrt9AxFxhuhclf5/Jg2AEnA6/JuJmPPTA1oMIRyLb2B3UOal22Y1PxlxaE9 c9ohazVR70tLGPfb1qU4SrVakrvL5Lmrb34n+FAFbLplUHBIJY6NlauZnfELFGxnleiT CNDna3FxDyfEh3n5tmAqaORwwN0T+Zda6uF6r/drDEqi50kdTLprhzkPqMUQeaWcIBPn 8a8YayBVwLZP6XYSwPclBkCwnLISGf83mCjqQz7kkzxu+s2SzuShSwmkrfyyO8uyAlTq j+4PEkYWuC+sAN+lE5Iy7nIXFJ809qu9EJ/9l970r8RFz25b9SrX3WtEMltrmNVtBKQl UEgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cLF4ZvJd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si8735927edq.273.2021.03.27.07.26.26; Sat, 27 Mar 2021 07:26:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cLF4ZvJd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230264AbhC0OZR (ORCPT + 99 others); Sat, 27 Mar 2021 10:25:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbhC0OYn (ORCPT ); Sat, 27 Mar 2021 10:24:43 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AA41C0613B1 for ; Sat, 27 Mar 2021 07:24:42 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id j4-20020a05600c4104b029010c62bc1e20so4418623wmi.3 for ; Sat, 27 Mar 2021 07:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+B50OlP0mbNlY3ZpuKmy0PR0wesCkBEM9mRsTuG7r/s=; b=cLF4ZvJd3oOdxp12wPyevecFxL41FXAWHY3f1UviAUJXDUUcFvINtwbyScvRZj1jlQ Cf86zxWwvSxZ/fgYi5GPuEl2l0JcZZ0c3u83Nm9O5IclwiIs9o3ymg0sGA/UmBBL4d8a JeCkTxhwswCAwwwEFrV2aLPwAheRaV2lgWfiqoedA5QMLAbL00Ufw+DkwPFbl0vaRdCl +VBbU6m63q2NFGFh8LQG8iOtqJ7L5h0Yq9IZ5fzsUWCtcdeuugk/l+Eu/DmSs2ELyQgM BoByzIczNmhrsjGAHsILkTlfI2rQ+s9ADHMgLwP0NWV6FYvdGOMMSiX5m7cZr9LOTtnv w2EQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+B50OlP0mbNlY3ZpuKmy0PR0wesCkBEM9mRsTuG7r/s=; b=KwZW0ULcrwbPMk5YJXjiX+L31ImUw8p0XmCTb8rh1o2xY0XbUeqy2WUHrh/CnXlT5P CBf1qglN+xAaiCqGpC1sIHAR0H2E25Byd0iTIxCHW7mD6v9HQfNDANjgcji1NEON4JPT emLi5RADYAJjsAcw1lq2t2mADomHJr/ngTuwQDnUbqTNlvYVRDck/l3goY9JnvVNN6QF f+WG7gSDY4OFsSdGlmOn8NU1yLps9EpDb8K1KmRe7KceUFPXhG63LULGFrR8DTYd8aTS LgOO4GB/jKF0BaV1zgd2kcZugHMuLBstRyC0caAe1kxaqYvoNfkiMfHXTPVSyLPFKbcv sXWg== X-Gm-Message-State: AOAM531s8tW/uxWwdrYfO1yigR3OLzWMsEsAWB3ddQkd6KgiReHUcLob 2QDYsZHisVLoo+xWlBTNVsA= X-Received: by 2002:a05:600c:4f94:: with SMTP id n20mr17384119wmq.18.1616855081100; Sat, 27 Mar 2021 07:24:41 -0700 (PDT) Received: from agape ([151.46.211.242]) by smtp.gmail.com with ESMTPSA id u3sm19442096wrt.82.2021.03.27.07.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 07:24:40 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, david.laight@aculab.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH v2 01/20] staging: rtl8723bs: remove unused macros in include/hal_com.h Date: Sat, 27 Mar 2021 15:24:00 +0100 Message-Id: <3914fc4c7182988c92b794357c7a3e4ef3b484d6.1616854134.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove declarations of unused macros in include/hal_com.h Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/include/hal_com.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/hal_com.h b/drivers/staging/rtl8723bs/include/hal_com.h index 3629b912698a..dc023dd17534 100644 --- a/drivers/staging/rtl8723bs/include/hal_com.h +++ b/drivers/staging/rtl8723bs/include/hal_com.h @@ -181,10 +181,6 @@ enum rt_media_status { #define TX_SELE_EQ BIT(3) /* Extern Queue */ #define PageNum_128(_Len) (u32)(((_Len)>>7) + ((_Len)&0x7F ? 1:0)) -#define PageNum_256(_Len) (u32)(((_Len)>>8) + ((_Len)&0xFF ? 1:0)) -#define PageNum_512(_Len) (u32)(((_Len)>>9) + ((_Len)&0x1FF ? 1:0)) -#define PageNum(_Len, _Size) (u32)(((_Len)/(_Size)) + ((_Len)&((_Size) - 1) ? 1:0)) - u8 rtw_hal_data_init(struct adapter *padapter); void rtw_hal_data_deinit(struct adapter *padapter); -- 2.20.1