Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1011062ybl; Wed, 11 Dec 2019 11:01:10 -0800 (PST) X-Google-Smtp-Source: APXvYqwI0L21AwMhwIhgn+qumRSNjp3kyvptppABCItO2Z6wfXy+3/RKKARgXKDpfSGKRX7Ni8eC X-Received: by 2002:a05:6830:2142:: with SMTP id r2mr3587201otd.334.1576090870846; Wed, 11 Dec 2019 11:01:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576090870; cv=none; d=google.com; s=arc-20160816; b=EyphB6BUx/L0tYygS9iabrnkve1bs1VCcrCFdrVDeCMOt3of92P7Zw4mLIk/mTY4aX hU1j/zN9L+SwRKGlcbC8+zZOADmQU8R3H4VZWXKKwSWpBokrVf9KOWFyrLgmoTfHIDZW BpAubZGrhGvFsI7LyOQYD97CQataNmAzs7dlIU7HkhBWcZ8zJzyzGPrq5JnvIE1Cj6ng +Pu0O28gLCluh4MIjJIBF0tcm/5PT9kqTNYO8ZW/+mCzA59T9kU8UUKvJsVwCjiMLCV0 Cjn/NXvxSODXkQf7xyeUZ9g6K2sxbYkONjBK+U1zKYAIu8w4AbZNGP1x2QQ2pcmJYyHq aZVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Bh3tDw75ggovTZupkjOr51IUHvyspc9W2SW1Tyk0fPw=; b=XcbkKDlODnVQC4oHoTKaQm4LM1ujiuq+z3BTk8uYBWI3LV4XQB56rZB9EoUaUZ0c9f 2rXAAo+8jVfM3KALhyAwB4dU2sbbHgBo/hcusmTl+BXGZMEbc7+lMldhYtqOUN02e9UA EamCZtuDkFBKHuOOHWo+5f4NAIGxwtTXvGwHVPF7YEW2jdOpxCVwX1avCd6JBKlK3EYK tzZKoOO+c6fkAYdtUFNwm4ZP7SDOjyGW+kLR5e3+gHxcdm20Zh8x9coVNPo5AQoIVI93 a8BtNIOLdrw17VLjQhm0P16q3ITUayzH8suC/X3rIT27d891T9+yJn95BxEmwhd4IpE2 8a4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=b1YmR+VD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w127si1701321oib.188.2019.12.11.11.00.56; Wed, 11 Dec 2019 11:01:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=b1YmR+VD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727717AbfLKS77 (ORCPT + 99 others); Wed, 11 Dec 2019 13:59:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:43140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727551AbfLKS77 (ORCPT ); Wed, 11 Dec 2019 13:59:59 -0500 Received: from ziggy.de (unknown [37.223.145.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6B1E021556; Wed, 11 Dec 2019 18:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576090798; bh=hqq+Okvmhd0TylWeXh60gyJ3vSjlTdLelZ7PE8Ug21k=; h=From:To:Cc:Subject:Date:From; b=b1YmR+VDIE7YYArcIxAzAR0HGn13WHEBHaF490Eb7/vrsXP6IW/G/PqEYwnUc+Nwm J5bKaUosGKX6uhBNPo7PAYKaMmvQ1xSTfliaLcS2uIshpig3f45gqEimnSWr4gj1ax OPXAhGspktCmVPbgjEKxDa/P5qp3jZl+z4TBRTIA= From: matthias.bgg@kernel.org To: bibby.hsieh@mediatek.com, matthias.bgg@kernel.org Cc: linux-mediatek@lists.infradead.org, Matthias Brugger , Matthias Brugger , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: mediatek: cmdq: delete not used define Date: Wed, 11 Dec 2019 19:59:50 +0100 Message-Id: <20191211185950.31358-1-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Brugger Define CMDQ_EOC_CMD was actually never used. Delete it. Signed-off-by: Matthias Brugger --- drivers/soc/mediatek/mtk-cmdq-helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/soc/mediatek/mtk-cmdq-helper.c b/drivers/soc/mediatek/mtk-cmdq-helper.c index 3c82de5f9417..1127c19c4e91 100644 --- a/drivers/soc/mediatek/mtk-cmdq-helper.c +++ b/drivers/soc/mediatek/mtk-cmdq-helper.c @@ -12,8 +12,6 @@ #define CMDQ_ARG_A_WRITE_MASK 0xffff #define CMDQ_WRITE_ENABLE_MASK BIT(0) #define CMDQ_EOC_IRQ_EN BIT(0) -#define CMDQ_EOC_CMD ((u64)((CMDQ_CODE_EOC << CMDQ_OP_CODE_SHIFT)) \ - << 32 | CMDQ_EOC_IRQ_EN) static void cmdq_client_timeout(struct timer_list *t) { -- 2.24.0