From patchwork Fri Jan 8 20:14:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359059 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp856033jai; Fri, 8 Jan 2021 12:16:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZG0pfymuu+s0MnGBo3irtFEnkx1nDjUp6n6iUn18D5nCRVMU82/WTxr24zS2ojyJ9imyh X-Received: by 2002:a17:902:26a:b029:da:af47:77c7 with SMTP id 97-20020a170902026ab02900daaf4777c7mr8758341plc.10.1610136961631; Fri, 08 Jan 2021 12:16:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136961; cv=none; d=google.com; s=arc-20160816; b=fbAEPJkt95i69hCZEltIibK32adLp109FKVHsUcGsyihF15l1yjv/tdTSwXBImn0oS sHU/cnHVy0brPazPHqqfuDwdVlgtyioh/JL8tMFUL1G8MTCPPXqXgVdMxrxwSvPsFSXL rQeMpZe6pkfsnD9tGHnKZ+xpXCHMSIq5Gx5M628RmQGADBdSACgILAaxHQtK521xOrwk gY+CEuyGJJp0D+NxepxYSmh+wymezn47oLlqLG7MR5gHOVgmadV4IrrgEU/TC6qMhEDS 4vWYKoGMpEVnL0VdeXbOF7l5ww7WzHJ8lE17w4RLvxcPR2ENAv+ghgIvVcMUUwRpC92d NYgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=tEMHoEV3JgPNzP6AsbU15jye94fkDyciUt66774RBU4=; b=BZPjhvWWplcjFFG/DM48KslxX9/hiPbyMscrppyb18PRqUbxoWiAonBLWC5i00irn7 zFsQRBeuOZGGQmWVkC9qiVvpPS5seBGdH32BNe8P4gR6oR4vRgZZ0ITdN1ZXD9vwnfRY 8JnMvg/T3wFsCRFt65agwR+tW9YfcBknAJ00jBLYtMaiBQOlOmMEWtyevRPeU0t5Kaga EMn+M9JVzTiDSqvw7I+5X8RDVWWvEN12n8vd1GpMPBJDLfMECuoiIr5S5ONMuFeQDHaB /HP3IwQKImm6mTiiJFV54y97wAeyTp7t1/iyZQbq4nI5Ge32veEbdcCvgCUn/3XjYApo v+8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=mCIOoMf7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id c24si10380606pls.221.2021.01.08.12.16.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:16:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=mCIOoMf7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A06E16E8C2; Fri, 8 Jan 2021 20:15:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id F19CB6E8C2 for ; Fri, 8 Jan 2021 20:15:51 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id g25so7364631wmh.1 for ; Fri, 08 Jan 2021 12:15:51 -0800 (PST) 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=rwsQ4P/R4DdLdAB3mC1JWRMOEYxyTXQ+mvrg/Opzxxc=; b=mCIOoMf78yv6vZZRz9P4wRu711vAOmJTwcFZoHf9+OnpmMqUsDtTYQIRLbXprNM/2H 4UfuwGilLCVSnL0T33A638w9j5Plzpi5879F8q0wGGeRbuXHv0g3Mc5tBd5TyblfbsHZ 7a0sEXSkfnc2IwoIsWbQgXKSJWupcPEyeD8QaKNxMSonEX6o1yjMoRMbb9DHohKA/wiK Bk+bXH5mp0I9WKSr/u7LGmoYrJWvVuUDHMMrEFUPRI2MMhnnJVNzCl4eAAgVZW6f29fu M+DxM1w1qHWhwYyNjb7nHLliZ6TWEeRMvqCoMYvv86Z4/hpX2Vj23HE9Ii5cJ+rAcOoO 9Vag== 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=rwsQ4P/R4DdLdAB3mC1JWRMOEYxyTXQ+mvrg/Opzxxc=; b=WFXaZNltEcg412tdDQqzJz8x0D/Uo9rDor/NvnrxX/PNxdwBFKHDwUoG1AM6qmzwip K5s5moIhq2uE0NV4+2RIJwpOg/KOpbvee+fe7PN/0pTgRUrLCJDDNVhxgI9z6t+EfMGg hZI8A/5UkMdW94MEGdxC6DaqloJlUHYpl5lRaAPQhh3lz38qtXbfz7ddyVCVV40FMrBe rF+MEhI/7NYSkBFt8V9tOIJ/1h/A8hifDthzkuihwO8ndMtoWPB75yQLeY0mqqvHEzA7 9UsdI/AOcBerwNGIkc3ASFT51Bt1iCmCacvKMS+ptr57p8Eht3scmm+Jc4FucLZEdxAH kPhg== X-Gm-Message-State: AOAM533UaukHLraOYh2Gvk0tkl/PEbLdRkiDW0Ez0yGc/QgPVeHoxzea FPy3tpKSUfz2sBfdh/lYrP2Z0A== X-Received: by 2002:a1c:2b46:: with SMTP id r67mr4491346wmr.162.1610136950667; Fri, 08 Jan 2021 12:15:50 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:50 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 32/40] drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type' Date: Fri, 8 Jan 2021 20:14:49 +0000 Message-Id: <20210108201457.3078600-33-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210108201457.3078600-1-lee.jones@linaro.org> References: <20210108201457.3078600-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:391:25: warning: no previous prototype for ‘get_engine_type’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c index cda5fd0464bc5..3204292a5aeae 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c @@ -388,12 +388,6 @@ static enum aux_channel_operation_result get_channel_status( } } -enum i2caux_engine_type get_engine_type( - const struct dce_aux *engine) -{ - return I2CAUX_ENGINE_TYPE_AUX; -} - static bool acquire( struct dce_aux *engine, struct ddc *ddc)