From patchwork Mon May 16 22:17:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaston Gonzalez X-Patchwork-Id: 12851541 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CEA4EC433F5 for ; Mon, 16 May 2022 22:19:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=T8FA88JOJ7emalPpoUh5wDdcRUohTL5r4VGaCJyCkZY=; b=aL4m+8C2wZ1FrM VyaW6NlqjBmsIyoeSEBOdvkKNVCWh4hYm2ZFCHy7HrtVVnshz16mwOsSONv6MoDhuCcJrKC1KTXtA RuuCsYc7xL/g4TbjzfgWEgETB8jZ5D00w/YEuHlzWupj9+n3qyvtjIThtsCv51aztYbVPu6ncQWqe LigWa/vo0zIWWk0p3FxN8l3yxOiuO+1kwqLGJYCynx3YXlcgFYgKkirjIC1j4+V+S+QqnLtYe9FoS kFwPoIfsqTHR52qHHXEX1CcaKkB6jRHAZJDvRPpvhq6Ays7383hbR7z/scNNIK0EEUfMzAEU45L+i oNuomSrR9nBqZaORwNgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqj3B-00ARH2-6F; Mon, 16 May 2022 22:18:49 +0000 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqj38-00ARFP-3c; Mon, 16 May 2022 22:18:47 +0000 Received: by mail-oi1-x22c.google.com with SMTP id v65so20324422oig.10; Mon, 16 May 2022 15:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BwvFqRaw7/r31nlcL9DNcUXufOMLxk6prSBHpW93H5Q=; b=jNc9CU9UeoxHPfaoqHA4vz+jPpf6dXwvFB9lYhkodQpraa3a/2lAdJiPDodG7S/Ls1 3+a+rWG32LsATfLlIKmM6Jf/r8BnVmy6+PW+McQy7Yu9gk/f3PUZKUYQIZNoG/UQSPAq gyVUW6V7wNgjwLQQ4vUYvFGtXMrZBbWOGtp26clpY4FX7qfA7298KlrvPDwrERe5y2XM halg/UdntPdWzHFrFQ4zXfYlFbIk9L1Ryb7AkZMeSpPwl1/smplwgh8bZhGmitY4udzU K2VfzEMfv4meE+XskWCpLLMpNcCatVRL7RUl7EBs+rHphCLb8CvaQRyPnDTy7EDLZhaM nyGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BwvFqRaw7/r31nlcL9DNcUXufOMLxk6prSBHpW93H5Q=; b=ASiXvN+g3F7MtnfYC/xaN9WUHa966PL9BPZy1ZDioi4niUm8GmDkX3WuArANIIz5OV t0m1kV26Co0QJXgl40Ydvc7akncCvn2y6HP8PMNMdZ/2WK4NSLzrBXUlmNBcbu3zyFXK uj5Bcpv02Ve7jCbhZKckPnDpvEHgJP0j4Jg0sLEy0hvLDHo8+rmOymTUnB38kiaarD9Q YAU+uvZbCMjcCMBojI5HBTiu1zglN5sSqw3gsitlE7Nrwlp1AjMt6fPcRbRtunygJYQ3 wZUsrUPQ48DejLGyNTKzNRasg8Uv001Q7eEx/veTxozYNouxPUxaL7Ue5WjrsRjhdO3Y +Fnw== X-Gm-Message-State: AOAM5335/6SNbfQibsE1LogOcK2vQoKPPq6Wjz96kez/UzToHzO209pV j9eTWjasQKTI86kzJH5WLW0= X-Google-Smtp-Source: ABdhPJxugFpWlbrLMnohwSEDLTAViWqjB+7KQrp3qJpAsRmic64cD+V2heGtaSZX/oIA5AxMQRJLHQ== X-Received: by 2002:a05:6808:188d:b0:326:bd47:687c with SMTP id bi13-20020a056808188d00b00326bd47687cmr9292697oib.25.1652739521625; Mon, 16 May 2022 15:18:41 -0700 (PDT) Received: from localhost.localdomain ([191.84.230.150]) by smtp.gmail.com with ESMTPSA id t22-20020a056871055600b000e686d1389csm5721349oal.54.2022.05.16.15.18.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 15:18:41 -0700 (PDT) From: Gaston Gonzalez To: linux-staging@lists.linux.dev Cc: gregkh@linuxfoundation.org, nsaenz@kernel.org, stefan.wahren@i2se.com, ojaswin98@gmail.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, gascoar@gmail.com Subject: [PATCH] staging: vc04_services: remove unused macro Date: Mon, 16 May 2022 19:17:41 -0300 Message-Id: <20220516221741.1015814-1-gascoar@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_151846_207045_E2ADBB74 X-CRM114-Status: UNSURE ( 7.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org BITSET_CLR is not used. Remove the define. Signed-off-by: Gaston Gonzalez --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h index 82b7bd7b54b2..1ddc661642a9 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h @@ -79,7 +79,6 @@ #define BITSET_BIT(b) (1 << (b & 31)) #define BITSET_IS_SET(bs, b) (bs[BITSET_WORD(b)] & BITSET_BIT(b)) #define BITSET_SET(bs, b) (bs[BITSET_WORD(b)] |= BITSET_BIT(b)) -#define BITSET_CLR(bs, b) (bs[BITSET_WORD(b)] &= ~BITSET_BIT(b)) enum { DEBUG_ENTRIES,