Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3512898pxb; Wed, 14 Apr 2021 07:13:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygZzoC16Ad0AVTgz6D+rbo9ol7lWG5Yo3EHn4zLLHuEt2gh0zrRhOUTtGeSTOMH6RxLcfr X-Received: by 2002:a63:130b:: with SMTP id i11mr17638632pgl.302.1618409585759; Wed, 14 Apr 2021 07:13:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618409585; cv=none; d=google.com; s=arc-20160816; b=mA1pMOotVVvksBIltKvGSa/ZvnS5ZFX08CqX3rhnDxw8Ltmt6mEwsuvLcwIyDXcFh8 L/nfzkEvQV4MYGzv0cdOOfHxroup9kPBF2KZXzqeYlYDVeUmu079pRiA14stwysagom8 bfkZc0sOza3dY68JpNa5cVskUIodk9rOP84l/URzJ8gpfvVfjMGcKatrbtJixXfO0Iud kv399Z4sMO/KRnLGU+NPS1pY+6k39oX92wMFHrOcuGFkAPmxRyRlc4zISImoxstxxOli OSSpb/7CcbO9bF4ZWUde38NPX9VfcVUL/2qQLIphga/oLhyDdo+qFOB5eY2n1OJBhvmK 84Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=LTAOQL8bTnmKR0rCYX85XeAPnpEOOD9tm5b4MgNn8RY=; b=fkLwRm8UJrv3+DbwoVJZ4R2tYI5Qi9Or39R69RL+0JOt5PHEKlRxFYNLQl6RNEmXSv Iun2hWGu0uDUtCzwKvC4M9EQvYmnANiIRUUoAd7+CDZcW9Y/YRrC5oQe/va3gGD4E7gi lHCxXuIv1h4gkLiBU2bjeO5QoRfG5Xodd3+qHzuDl8KDeU7zJJwwCWVB5Ylg+VirRLN7 /+NmtVVduuAlOijAMtyzXxsxfeQ+ZE3emUvC/BFGg0sEWcaze1F+p//9tyikFZQ7y00a tydtv8Kf34vuJxxePy3TgEcgceVRmxIhDgNhcPZtn1b7ek71tUeB/iKj+v33pjyKG6D9 FjSA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 139si15227428pfy.93.2021.04.14.07.12.51; Wed, 14 Apr 2021 07:13:05 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349664AbhDNHOP (ORCPT + 99 others); Wed, 14 Apr 2021 03:14:15 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:48264 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349632AbhDNHOM (ORCPT ); Wed, 14 Apr 2021 03:14:12 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0UVWLSk6_1618384421; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UVWLSk6_1618384421) by smtp.aliyun-inc.com(127.0.0.1); Wed, 14 Apr 2021 15:13:50 +0800 From: Jiapeng Chong To: 3chas3@gmail.com Cc: linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] atm: idt77252: remove unused function Date: Wed, 14 Apr 2021 15:13:39 +0800 Message-Id: <1618384419-39959-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following clang warning: drivers/atm/idt77252.c:1787:1: warning: unused function 'idt77252_fbq_level' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/atm/idt77252.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index 0c13cac..9e4bd75 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c @@ -1784,12 +1784,6 @@ static int idt77252_proc_read(struct atm_dev *dev, loff_t * pos, /*****************************************************************************/ static __inline__ int -idt77252_fbq_level(struct idt77252_dev *card, int queue) -{ - return (readl(SAR_REG_STAT) >> (16 + (queue << 2))) & 0x0f; -} - -static __inline__ int idt77252_fbq_full(struct idt77252_dev *card, int queue) { return (readl(SAR_REG_STAT) >> (16 + (queue << 2))) == 0x0f; -- 1.8.3.1