Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1106678pxf; Thu, 8 Apr 2021 23:27:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgRZFf6T5yri/+ycKowRuRQiGnFWjox8tiunESnbeX1SeYfKZbG8r4CEexg687daFg0FPb X-Received: by 2002:a17:906:b191:: with SMTP id w17mr14816549ejy.200.1617949645804; Thu, 08 Apr 2021 23:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617949645; cv=none; d=google.com; s=arc-20160816; b=ltwbmaGXzruy2Hq26sHrVYSW8ejiyZTMadTuArkH4bOKjDgr8rB+wg3/5o8lTBHHh8 jrAtzZGucRFfz3HqJ2gNsxywvRreQ184bol2CUZ1yLaJUrLheMdrGYE9MrMKt90Hpo2S Ew2Xx1rHfcLs32kQNCuo5MHzS5s/dhzNo1LKomJXL1qHzco/IZ76DAaOSrL6qNfR3Pqj Oez56euM/OFPDcPkBl/r/urOKc2nofTY5YdwSUUJkBeQYPWfVlyrCBSQUKyvTrqH+9Ce mR6fGfYTTrNrd81WWoNje1e0aQe/JixFId85zXjW2lQscXKn9cAPo+CGB/gkRQltm/+7 1AHg== 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=4Qiao0xZraZH4TgPbRLb/LaSpIqw3oVSJx9WJTmJ/6w=; b=INPHclWuVDpfumrfLiCyyafY3T0M1bFPKuT9EWKIfOAkmMNYoGe0HFueLvlD+9yZ7y 1hx1v2nyjrFfqZR63YpnIaP2gZ5IgkPe0K7J62w1eUlwnl6ZPl8IRFfFTnj3nmcHEAJg VRaki1U6dLstn2+UJbsKv9K5f+r+FTU1Vjf1FvX5aKy7i9Al6G7PjMtdem72Zsn8SI16 8dSc+aOTGKUxHpihH2tC0TABUfKufSYD9Ow8PVbj0YuhVIsBYktdJWLm+f0Ys5mRlvRl 7wKkKAetsami20KHizYm1IETs6Zmc/weG09i8dicpEVgK+wri7WUJm0WmPG7bI+ntGro laaw== 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 ji12si1241507ejc.448.2021.04.08.23.27.02; Thu, 08 Apr 2021 23:27:25 -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 S233425AbhDIGYG (ORCPT + 99 others); Fri, 9 Apr 2021 02:24:06 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:41465 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233408AbhDIGYF (ORCPT ); Fri, 9 Apr 2021 02:24:05 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0UUyWTPy_1617949426; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UUyWTPy_1617949426) by smtp.aliyun-inc.com(127.0.0.1); Fri, 09 Apr 2021 14:23:51 +0800 From: Jiapeng Chong To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] staging: comedi: cb_pcidas64: remove useless function Date: Fri, 9 Apr 2021 14:23:45 +0800 Message-Id: <1617949425-105420-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 gcc warning: drivers/staging/comedi/drivers/cb_pcidas64.c:232:19: warning: unused function 'analog_trig_low_threshold_bits' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/staging/comedi/drivers/cb_pcidas64.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/comedi/drivers/cb_pcidas64.c b/drivers/staging/comedi/drivers/cb_pcidas64.c index 6d3ba39..41a8fea 100644 --- a/drivers/staging/comedi/drivers/cb_pcidas64.c +++ b/drivers/staging/comedi/drivers/cb_pcidas64.c @@ -229,11 +229,6 @@ enum daq_atrig_low_4020_contents { EXT_START_TRIG_BNC_BIT = 0x2000, }; -static inline u16 analog_trig_low_threshold_bits(u16 threshold) -{ - return threshold & 0xfff; -} - enum adc_control0_contents { ADC_GATE_SRC_MASK = 0x3, /* bits that select gate */ ADC_SOFT_GATE_BITS = 0x1, /* software gate */ -- 1.8.3.1