Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp592187pxb; Thu, 15 Apr 2021 01:44:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMbBrCIynqh7A1/RkYsxRYeXmNEP1lWvwF4SaYj75Ev3NRw+p1NC5jAn3zzWxoqB5djgyC X-Received: by 2002:a05:6402:757:: with SMTP id p23mr2766418edy.49.1618476266546; Thu, 15 Apr 2021 01:44:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618476266; cv=none; d=google.com; s=arc-20160816; b=uIpYeoD30qhfzTmyHwMoNYRmkThqMaKoFxo5THoQpn/V6ovhqpIZDVRItR1zRsw4cK IZoKYqfj5uLssu1I0kiz9B1yzAyzYDyf1GCXuW4eqh3wd4KpktJjkDUAkFt5u2fLj7x0 BdXVHKwxDU0XqGni3o0obezIgTCohSxch0AX2MdKmvkPbqVkltFeNJbPoCl9fXP0bUly OwiNzKWRU1L44/TPlEAgLrD3lCdgAF+E4EwfvPUPlQhSwfVOl0dEC/JmsEHIOYbT276v TmA4aFEXK4EPHznoVX7a1h2sBKTSwwvOx0JOiNm3grHnVvE8+UMsnmZsl92pCEnzEgoj 3tsw== 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=M3NorhWIL0zI+SLxrkQjmVfEDj8GsjA5krHHWauDjdY=; b=Ul3q5PtCDyaT6HZ3NEwxI9wymia+DtIb4QLDiaZZMt0MBH/fnS5xl04gs/cs91O4h4 VF/KOdGxkX1QCWS4RMtqNLE+Lo0l85sWBdP3bpf0/ilPTlzYAFQJGfuuDUCW+OgDgYT8 Xylg6gRScqeSJc+yKBDTcIg8uEeCb2xEOoRYIhDD1ss2jxlDUStxutNdvkqY1MCaMI2L iRO2HogwFmWWZBq/swrCJeSP9hclJLo2oYGjyhOrZu4ldcnukZM1JTGFG1dH719DYirU qjnF6jDdijbh/P5I2uiRd8Hnd0PeRQtemdSqwHC83RU1zEMouFZ30qN4x7rNU0YjfhfC kEgw== 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 m20si1636886eja.616.2021.04.15.01.44.03; Thu, 15 Apr 2021 01:44:26 -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 S231622AbhDOIle (ORCPT + 99 others); Thu, 15 Apr 2021 04:41:34 -0400 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:41392 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231398AbhDOIld (ORCPT ); Thu, 15 Apr 2021 04:41:33 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;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=7;SR=0;TI=SMTPD_---0UVdSLBq_1618476064; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UVdSLBq_1618476064) by smtp.aliyun-inc.com(127.0.0.1); Thu, 15 Apr 2021 16:41:09 +0800 From: Jiapeng Chong To: anitha.chrisanthus@intel.com Cc: edmund.j.dea@intel.com, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] drm/kmb: remove unused function Date: Thu, 15 Apr 2021 16:41:03 +0800 Message-Id: <1618476063-108624-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/gpu/drm/kmb/kmb_dsi.c:824:2: warning: unused function 'set_test_mode_src_osc_freq_target_hi_bits' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/kmb/kmb_dsi.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_dsi.c b/drivers/gpu/drm/kmb/kmb_dsi.c index 4b5d82a..448cc1b 100644 --- a/drivers/gpu/drm/kmb/kmb_dsi.c +++ b/drivers/gpu/drm/kmb/kmb_dsi.c @@ -820,22 +820,6 @@ static void test_mode_send(struct kmb_dsi *kmb_dsi, u32 dphy_no, (freq & 0x7f)); } -static inline void - set_test_mode_src_osc_freq_target_hi_bits(struct kmb_dsi *kmb_dsi, - u32 dphy_no, - u32 freq) -{ - u32 data; - - /* Flag this as high nibble */ - data = ((freq >> 6) & 0x1f) | (1 << 7); - - /* Typical rise/fall time=166, refer Table 1207 databook, - * sr_osc_freq_target[11:7] - */ - test_mode_send(kmb_dsi, dphy_no, TEST_CODE_SLEW_RATE_DDL_CYCLES, data); -} - static void mipi_tx_get_vco_params(struct vco_params *vco) { int i; -- 1.8.3.1