Message ID | 20190408062831.16422-26-linus.walleij@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1D1281390 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Apr 2019 06:44:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E722426D05 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Apr 2019 06:44:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D6D2E27FE4; Mon, 8 Apr 2019 06:44:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7E85626D05 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 8 Apr 2019 06:44:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k49/oON+7e8XiaNWJIQWOIYqvi3kSKjdFVcf1CP8u0I=; b=niC2Eqpqrw0clO jCYmZJe269t0G1fQ1XNZ7zVsc4Av4poqtPgPNdMr7euMf0hX3/I7KZjnVm7MKGM0B2W8VwBhG5mgs szYzX9PmSn9oP1w9VElUQ5MJA4SIVll57MXBgKOZOciZh1yr0ojOx8TzkxUUVKbx326MsUWZWNd/u J/GUP06k5D40LoqgHTe3IcXnNX609To88DaQ3rhQBSeB5sOnlkunr8rTTAUuxyecwHdlJEZQToEwF npIdHqmgvpkPsSJogtcQC+NVhFRevO7xBaXKGdYt8/9Qc0x2zYdylMXaniBPeH+d4g+DniE3As1ya vn8Gl88WWBn6WWaSoTjw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDO1J-0006ej-J0; Mon, 08 Apr 2019 06:44:41 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDO1I-0006Jj-5y for linux-arm-kernel@bombadil.infradead.org; Mon, 08 Apr 2019 06:44:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=umuLSOVrwCCYkpN+TYWJKCijQsGV8b1zCY+PSuwbxmk=; b=dGxfHIAfEiwpmS1JYH7h+ORyQO F6uB3kpTR2LjeKzjboZh9H/b1h3lAlQO38bCbH+2676jzSTyadQE7TX1iUzXThpF0iOt9eeZ5m2Tm 2AwW9eA4N22J3jKOj/A1CcCwzqtIkHzIE2T3Ctf08uINR4NORpQ1YQOVp+Ed5/UQNs3A+kcp6jG0j TGecBFmQBAsKeswXP47QcfUq82NeJ3tGTwy/jkByYHXcPbvjlY08r3s6kJUM6WOGatEcZmiOgb58P enjWW0ij4aJba21Q3Y999D00sMoDRIobFpI+FIQRqS929ri1oA43GfjuxKntmpQHL4pHPUBdFq80Q NTDcgagw==; Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDNmZ-0004kv-Rd for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2019 06:29:30 +0000 Received: by mail-lj1-x241.google.com with SMTP id t4so10116931ljc.2 for <linux-arm-kernel@lists.infradead.org>; Sun, 07 Apr 2019 23:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=umuLSOVrwCCYkpN+TYWJKCijQsGV8b1zCY+PSuwbxmk=; b=oym4PTzdimIL7drrtwYAGV+99Mi7VzxtJzGlHv7jKOLlT4IkAXyHYywZvoDrN6Wk2r QUvNcnMrTIkpNngCryMHF7kmsNVA3Y/LeYdG1em2fFSTOvaeKv0IwyD4Lj8Oed9Ie58V UAmJGBtNpfCOHwywjsI2rgFjQsrBFeodfmLyWeIZ/mUeG0Ul6MC7YOoVAwh9JT9jhy1q EQPApciLJwksC3TWECEtJ8Q8ZDy37pmTIJm/+BBYm27EgS7vIOjkK5nE9OWNZfFY2dOC uMyuNGN7V8iZd4L/8uESsYZIzvNKSx/veJjm2gBqZ+JXOPEy9QUyhLbAbwETGGk1h690 zlIQ== 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=umuLSOVrwCCYkpN+TYWJKCijQsGV8b1zCY+PSuwbxmk=; b=p1KyJgL4LZe2lx0kSgJdYTU79Ry2+fay1WuzLSH+mTujYOjMmT9Iu2A8ncXeAbX/SB ls642xzeII19m9xlG2KHqSuowTAz6jFVT+UPv79c4Kd3UBFQxkLu1Cmei5H64oZsioke Lj/EUFGWA2xvgh08C50b20pUA62y/prsYiSNjOy3f79vnwZ3jGHxj4DcJUp6+PkmhkG5 3F7jJ0TfE3nW3lBue1/U+1QijLyE1kc5fiJR5uGXKxLAro+uF46oK5UsRVMcXfg6JR1r 0FXqyWg1z7atCcFG+EP4rbYCIwnbSk5Ql+YqOrcw55BrPn7DJ4nCuLrOmV0qMJmoJaX8 X05w== X-Gm-Message-State: APjAAAWdqwisDMcfCeWZsa+iCnb/F0yatmGLblYzjhYy+QRWnH/5YB2W 2Rj80voY0h2IAwiIUu4ZPVFDZYIjNWs= X-Google-Smtp-Source: APXvYqy90HxzSpTPkh9Ir3oc2LrNO2TJG3U70JDIu8WErZVrjRE+ZPRBA6ULfkFI4Ky2vtEx/a/Aqg== X-Received: by 2002:a2e:711a:: with SMTP id m26mr14746237ljc.40.1554704965211; Sun, 07 Apr 2019 23:29:25 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id v11sm5884443lfb.68.2019.04.07.23.29.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Apr 2019 23:29:24 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> To: linux-arm-kernel@lists.infradead.org, Imre Kaloz <kaloz@openwrt.org>, Krzysztof Halasa <khalasa@piap.pl> Subject: [PATCH 25/31 v3] soc: ixp4xx: Remove unused functions Date: Mon, 8 Apr 2019 08:28:25 +0200 Message-Id: <20190408062831.16422-26-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190408062831.16422-1-linus.walleij@linaro.org> References: <20190408062831.16422-1-linus.walleij@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190408_072928_079014_FB55A33F X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Linus Walleij <linus.walleij@linaro.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ARM: ixp4xx: Modernize and DT support
|
expand
|
diff --git a/drivers/soc/ixp4xx/ixp4xx-qmgr.c b/drivers/soc/ixp4xx/ixp4xx-qmgr.c index 412a346136d8..f3775346e007 100644 --- a/drivers/soc/ixp4xx/ixp4xx-qmgr.c +++ b/drivers/soc/ixp4xx/ixp4xx-qmgr.c @@ -95,18 +95,6 @@ int qmgr_stat_below_low_watermark(unsigned int queue) return __qmgr_get_stat1(queue) & QUEUE_STAT1_NEARLY_EMPTY; } -/** - * qmgr_stat_above_high_watermark() - checks if a queue is above high watermark - * @queue: queue number - * - * Returns non-zero value if the queue is above high watermark - */ -static int qmgr_stat_above_high_watermark(unsigned int queue) -{ - BUG_ON(queue >= HALF_QUEUES); - return __qmgr_get_stat1(queue) & QUEUE_STAT1_NEARLY_FULL; -} - /** * qmgr_stat_full() - checks if a hardware queue is full * @queue: queue number @@ -121,17 +109,6 @@ int qmgr_stat_full(unsigned int queue) return __qmgr_get_stat1(queue) & QUEUE_STAT1_FULL; } -/** - * qmgr_stat_underflow() - checks if a hardware queue experienced underflow - * @queue: queue number - * - * Returns non-zero value if the queue experienced underflow. - */ -static int qmgr_stat_underflow(unsigned int queue) -{ - return __qmgr_get_stat2(queue) & QUEUE_STAT2_UNDERFLOW; -} - /** * qmgr_stat_overflow() - checks if a hardware queue experienced overflow * @queue: queue number
These former inlines turn out to be unused in the kernel. If they are needed in the future, they can be resurrected by reverting or studying this commit. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- ChangeLog v2->v3: - Rebased on v5.1-rc1 --- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 23 ----------------------- 1 file changed, 23 deletions(-)