Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp614507pxb; Fri, 8 Jan 2021 13:24:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJydv6TmSg1CMBx6thsKbyAo4Ms23fjYUNe+R8kGFkoLXnPBkWYuDtVTJuhAVter8QSThueP X-Received: by 2002:a05:6402:19b0:: with SMTP id o16mr6664550edz.270.1610141080653; Fri, 08 Jan 2021 13:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610141080; cv=none; d=google.com; s=arc-20160816; b=LPmpA8DQQSKZ7DYfNw8Dh7fBUKq0rl4tBQeynyIxKoTPBD6D0xnYUF8X3mgv5boWLH 6+2mdxyNCp811qfY6bfIG7kc+UOIRGhlkOSw13KLc6DsOOrHwge1CSGgn+3PA/sGoDlg WMxr4SDAcgf7MX49loQnW1a1KzcfYPeZ1WuZqQNMrD40yCCepMpOU3PhBkoZsMVBeNE7 1Wvda9ywj4BTBHLjAJlMzb2y224zudTzLgcrQDNJHwwD5JHmQfVGf1NOPzSqfJ3jR0W+ zggFfLTWGHhsMrF5D4IDwdiI5J42cgbDse3vY4wxVB/hfmykkEXrbthn62tm9PsJzzx5 gF9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=6Lpk5Nv67FloCKNgJyqOZp3CuSqmycAftdWsVy2MVY8=; b=bDGJj5WT37RpJFIdutJZdv9KCQNxkwXnwk+O1RvvtHhDGRQ/Ob+Y4SZfal9vIdn1Eq Kq4Z+cLDZfV4nVGAnXEzTUzYdU0ZW3WtF19irU5X16NU7Ev8/304Igc77MORLVm85cxN QhHkLDD+DCjpc0TplgYgBjahh/2CEnj94/Nf64izTlI4gFVQ4fFoWgiIsPsqeF0NZ9JU O4KduvzJ9oSTW8MBtY3yUHxB67wYMu8GaAj9k6wQXsxdlX4RYrLc09EiseQ5qv+NLFPb +8rHp9Mk+F9st5nJt2ihxeLp8dnGIs5ayS96lCYZhRo6IrgyeGifSDimt+yYtVF/spw6 Xcig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JofLM2g4; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w14si3900842ejn.207.2021.01.08.13.24.16; Fri, 08 Jan 2021 13:24:40 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JofLM2g4; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729681AbhAHVWD (ORCPT + 99 others); Fri, 8 Jan 2021 16:22:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728587AbhAHVWC (ORCPT ); Fri, 8 Jan 2021 16:22:02 -0500 Received: from mail-oo1-xc35.google.com (mail-oo1-xc35.google.com [IPv6:2607:f8b0:4864:20::c35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59348C061757 for ; Fri, 8 Jan 2021 13:21:22 -0800 (PST) Received: by mail-oo1-xc35.google.com with SMTP id x23so2731820oop.1 for ; Fri, 08 Jan 2021 13:21:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=6Lpk5Nv67FloCKNgJyqOZp3CuSqmycAftdWsVy2MVY8=; b=JofLM2g4qOdL/1LisOZ/7pwproBEDUQX5RuX2+p4EQhwSKhTJtOioUVfePZuYnPTgk o7sq//QH/ZIC0PX/1pr6HHs/SIcrLl6O1nHY7nvIvM3VAd33tV63zl80Na3qJRK39a4/ VD2EGGmwT9XJs75Ie80eP1qTJKMYjLn9HfAwA6t4s8PjyfhAr4hnn7XaSwtmQ9cZD0H/ kHx1WlSTxMoZ72m4obBWQrRzr5z3qhRnyrsix30dhvwuBA6NxqCC0r1NQExCuN73Z86N 7e9CXiMWBKbGvjLlfH1c4hGscdPazEYgL8fJ09t16SeJYVilMW+vYYk9ZRGNZxTfNHib q81A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6Lpk5Nv67FloCKNgJyqOZp3CuSqmycAftdWsVy2MVY8=; b=UZUZtVV5CV/yrjQICCx74QKsCzMSJ9snTUJy59+rfiEuHQSRClSwJwV1a5fb0Yaz64 YyeegBjrUw4mLAxvV4QpSa4eonINy9nr0JCXqkNeUhf6cUtCsVpUywqBH25P138DoM4z pqMb3S7I2il0EfYLl/DPC+WeJN/zJn0MByMVsFy7CNPO9jR463NrrCZ25VnUccepWxDq 6H/O06SoL8egPqwU5hhDubAJD2U00gSfb/UW0GN5fUdau64gApojsRCNrtHvcvKMUUPi AdUARkyN97oPY4hdZATMA5N7co2+3SW7YXPn6CMCpVnPZcS2dQ2Ecr0i31nEPb6MM4Gt wL2Q== X-Gm-Message-State: AOAM532MmhXgUUCQfUnAqXaydB5Nit3mlSA3+PVb7783S3KChZWoyDSC ChjJjOLCrlG1MmqCHMwmWX0Qk3TGLAcaJcrS4Zx4GcGw X-Received: by 2002:a4a:a2c5:: with SMTP id r5mr5583822ool.72.1610140881856; Fri, 08 Jan 2021 13:21:21 -0800 (PST) MIME-Version: 1.0 References: <20210108201457.3078600-1-lee.jones@linaro.org> <20210108201457.3078600-33-lee.jones@linaro.org> In-Reply-To: <20210108201457.3078600-33-lee.jones@linaro.org> From: Alex Deucher Date: Fri, 8 Jan 2021 16:21:10 -0500 Message-ID: Subject: Re: [PATCH 32/40] drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type' To: Lee Jones Cc: Leo Li , LKML , amd-gfx list , David Airlie , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:391:25: warning: = no previous prototype for =E2=80=98get_engine_type=E2=80=99 [-Wmissing-prot= otypes] > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > 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/d= rm/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) > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel