Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp593479pxb; Thu, 15 Apr 2021 01:46:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpvxD8IOTXgWsJ7/bH2bpLEhF4wNIrgggqazmpJwBTn2/Kht47WHWyrewYuqsQ1Zo++TGg X-Received: by 2002:a17:907:c08:: with SMTP id ga8mr2279905ejc.376.1618476416758; Thu, 15 Apr 2021 01:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618476416; cv=none; d=google.com; s=arc-20160816; b=nvd2s5bKD8azm/NYAguxOQGzvgutIhvYYrmuogE0Vbf07FSDrwhjLAGtUxA2yIl3NC QO0XW/Zv0Z6YjSwI9t3EysaxmR26jOwvwHSksZF4gF3mBpNqYPTl5UJL81tAun32bZU6 LNkvyBooy4F1ZCPO/MAn2EnL9IDmwpC4N5bQy/9O9J3wL6l9Xt+b04nNcseH/ODRv2Tg u7/B7huiMyOuX4DEbGRx0JhHZSJ3bQC4kcxsh2GjV1Z16YK9u6S/TqwOsUbiD+S+MSoq LZDi9ZWZpNog9OKK/nESVQt6/+MQ7xwKCgU+mz9m+y8pi/NOfdraQ0KCMbFxbvPa2qmA mRWg== 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=s8jq7k4ARAz5DBgaPUv2vEVYo3/OD2R2FSmP3MM0a6Y=; b=XdeRYyhlOQZlURdr89gXEecm6iN1sI/0ehMr5FR53ncq7S13/R76Jc7FoO++ymNjEM DjCmMrKbBLk6RrHByeP/HIgS/rgySmgfPYYrNjOLq7Dhl8dqwOUx3/0gmlpyRAuK9X7n FFOV5ZrfPPjUJEjuHzQTH95qbPDM70KhKBaqqL9hx2EOfWWortg//TV20dnUgNVG82pj TPK5/S8mIv7Ey1FMhR146HBclOGT4H5pT0idGFpauyQc7R9ue+M/7RvAw5ioLt1XKFUu HTwhS/6pFdpaZ731H4zUrTvqa99svu/7f/Rhef464Dy69ui89LR/ipoucmLI3nu1z5FA tI/Q== 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 z26si1740542edx.5.2021.04.15.01.46.33; Thu, 15 Apr 2021 01:46:56 -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 S231563AbhDOIp6 (ORCPT + 99 others); Thu, 15 Apr 2021 04:45:58 -0400 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:53221 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231491AbhDOIp5 (ORCPT ); Thu, 15 Apr 2021 04:45:57 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0UVd47qV_1618476326; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UVd47qV_1618476326) by smtp.aliyun-inc.com(127.0.0.1); Thu, 15 Apr 2021 16:45:32 +0800 From: Jiapeng Chong To: eric@anholt.net Cc: mripard@kernel.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] drm/vc4: remove unused function Date: Thu, 15 Apr 2021 16:45:25 +0800 Message-Id: <1618476325-112629-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/vc4/vc4_vec.c:201:1: warning: unused function 'to_vc4_vec_connector' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/vc4/vc4_vec.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_vec.c b/drivers/gpu/drm/vc4/vc4_vec.c index bd5b8eb..090529d 100644 --- a/drivers/gpu/drm/vc4/vc4_vec.c +++ b/drivers/gpu/drm/vc4/vc4_vec.c @@ -197,12 +197,6 @@ struct vc4_vec_connector { struct drm_encoder *encoder; }; -static inline struct vc4_vec_connector * -to_vc4_vec_connector(struct drm_connector *connector) -{ - return container_of(connector, struct vc4_vec_connector, base); -} - enum vc4_vec_tv_mode_id { VC4_VEC_TV_MODE_NTSC, VC4_VEC_TV_MODE_NTSC_J, -- 1.8.3.1