Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5581770rwl; Tue, 21 Mar 2023 22:22:24 -0700 (PDT) X-Google-Smtp-Source: AK7set8ItzTF6z5dBmRt7c8aLdCOnkMg35vNqWRTzzMq0rVRDHp+kuU/AbMRGh+k268BaopwW+If X-Received: by 2002:aa7:c7c6:0:b0:4fc:782c:dca3 with SMTP id o6-20020aa7c7c6000000b004fc782cdca3mr5222427eds.28.1679462543721; Tue, 21 Mar 2023 22:22:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679462543; cv=none; d=google.com; s=arc-20160816; b=igaOxun0its3uBDk77I7clDkwQYeqiUQqN1qw3avYCOtDX/mgSMzcIbaiV7Gix98tg NEou1qKZvwjX+oGJzlk8Y17Y+WhDSdl45FbakxK2RIjAD9FKwE2A6m6N96W00O0+jOrq teFWF6HPujBrTmxpjLNXNkOoo+cyXykGJ7P2gZHzOsZxpEGM9Vfeyc9bQwO/EiHtGByP Qun23MiTxshR8kPTnNNraQZAC3wD9aw/rDKJJ7JIBeK+mK+dDWg47RrkBikDX8tj1DW7 C3DkO9iNHCW0TlXT0gzv5JnDfa140Cio4FPFFEfl8xo5ot3ipFfbE8rGPWywYTMOFU8x hpBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=+XW/nloa73RsDbxvXcsiwU/r3yMnxVtzFID97L8lhtk=; b=P+y8ke9FaoC/luQzKwFtCo/XsRoxEvj7vSHmI1SZ3pGD7dMNlXSV1P6vmditPBydvn ZMSEoiSWfMt+xcl7tDsdNMRNOOBcnG9qzpwI86vbw4P+TGmyKzeCRQVqGayweOrJbQ4i AyGQ9sl+fItntG+Wwkfdz9Jlp116BPlEncAB80McjbxmKYXIsqXElQD8Pg6LZQ6wkhBR Z1Fx5EXyWub/lQkqz6GIcHK/lFV7ITQueeMzcIoQqQueMx7KAxxA6Y2773hItt4oXLi2 3Cd6LkkCS9dBXXyJhppCaPe2Tr31MzvzXb8yW3Iiy3iU4wiFR3hoiht+sqZVm/Pa9P99 OP+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NroJxHZ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020aa7d5c7000000b004acbbc70421si14679772eds.366.2023.03.21.22.21.58; Tue, 21 Mar 2023 22:22:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NroJxHZ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229891AbjCVFRl (ORCPT + 99 others); Wed, 22 Mar 2023 01:17:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbjCVFRj (ORCPT ); Wed, 22 Mar 2023 01:17:39 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF54159E64 for ; Tue, 21 Mar 2023 22:17:07 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id j13so17515264pjd.1 for ; Tue, 21 Mar 2023 22:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679462227; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=+XW/nloa73RsDbxvXcsiwU/r3yMnxVtzFID97L8lhtk=; b=NroJxHZ3oYEHTsjtJdI1uiPOX8c/Uk7CAOrHj26NwJT53hOgfDzI2W+u4LjXXZOBO9 6nMqaGvBuGjcn5jt98Vl8WZK7zuikadpwiCzK2YTEs0Xl5O2WIWb4GVd2h+kLPApOyoK d02EhdJKL+AH6f6PCCTaAkS2igffFDsPgydE19v0gfEyPTXSplrlMdbyilqg8MopSPAj 7KMcx5/0XvlrQF9vwLd7XADbWEGZQ1bssuDunGZMEyC3ZHMKd/EN21ZZkTdl6HVCL0NX v4rA7/rBkbs0jXgsOYwNX/0lh3AFYoshl+YcwniLwqyzEBUA54E69yBAKSB2TkfE4/yN eC6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679462227; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+XW/nloa73RsDbxvXcsiwU/r3yMnxVtzFID97L8lhtk=; b=J7UFEUgDO93U66Z92wTdKBmA9jOU7GBhaaTpp/Hr/OO3V2UP1+o82GqOjbkH6GOuSj SGZfVCVYdY2NicVFmOc9GmW0iRlJHC4AMjyjcs/EQ9/fSaFTjHJiBkcw9AHvPsbzPim7 +PJnyR9aKFSZzFh80pD2uQzmroaO/AIXTsmABT4awH73WycL8iysBUXSoXWaAPDXdoPN +icbTT1dw0fi5IEueKYi1QAm6aIZPkDcNZdtcwPiqz2pkyjMwNEfp1Qozoz7JDjJ1y1o 1nfFS8bn3/mIIxjQ77wKzmoiZybP71mzgArCa2anIckeNPvVS0c9jZ6sZEri2RfkzkPi z3QA== X-Gm-Message-State: AO0yUKXGzkRn2Kq4IO1zvGA5d/uhGWJOp04RjzoY5AWDcX+wUVidlm4k Vjjo3Q8rFoq5ZajfOoZ2IiqwwJW2Kg== X-Received: by 2002:a17:902:e5cf:b0:19d:7a4:4063 with SMTP id u15-20020a170902e5cf00b0019d07a44063mr1796838plf.46.1679462226864; Tue, 21 Mar 2023 22:17:06 -0700 (PDT) Received: from mehmed-HP-Pavilion-Laptop-15-eh2xxx ([2401:4900:1c19:e99d:845:36b:5d36:1b42]) by smtp.gmail.com with ESMTPSA id g5-20020a170902c38500b0019cbec6c17bsm9618653plg.190.2023.03.21.22.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 22:17:06 -0700 (PDT) Date: Wed, 22 Mar 2023 10:47:03 +0530 From: Inshal Khan To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] Staging: rtl8712: osdep_intf: Remove RND4 macro. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RND4 macro was found to be not used anywhere in the project. Therefore, it has been removed from rtl8712/osdep_intf.h to simplify the code and reduce unnecessary overhead. In case the need for rounding macros arises in the future, kernel rounding macros will be used instead. Signed-off-by: Inshal Khan --- drivers/staging/rtl8712/osdep_intf.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8712/osdep_intf.h b/drivers/staging/rtl8712/osdep_intf.h index 0e097b4a8670..446ee09159fc 100644 --- a/drivers/staging/rtl8712/osdep_intf.h +++ b/drivers/staging/rtl8712/osdep_intf.h @@ -17,11 +17,6 @@ #include "osdep_service.h" #include "drv_types.h" -#define RND4(x) ({ \ - typeof(x) _x = (x); \ - (((_x) + 3) & ~3); \ - }) - struct intf_priv { u8 *intf_dev; /* when in USB, IO is through interrupt in/out endpoints */ -- 2.34.1