Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp229324pxj; Wed, 26 May 2021 21:30:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJrm7NrS55yKqHHDK4X8jQLZYNMbXwdSYCA6KGjPSsm5A39g23uZ+dTVjzRzwzLvkZd7yT X-Received: by 2002:a92:6e01:: with SMTP id j1mr1415335ilc.160.1622089853628; Wed, 26 May 2021 21:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622089853; cv=none; d=google.com; s=arc-20160816; b=HZimdlc2q2lkvDsz9purCHeNdwbZRq8BvjkRVOhAh1kpattyVXDN9q1ccy8AquwJKq LqDYouYEFqBv67RobXAvBQ6pic/BqN4sQk9/5XX2QJ64mcF1+M1O4YUWSZnnBWDRivTp BkVuMwDGF5hhBG/4TJz833AXq1RfCml4WOMhAR+UlB1psmXrM3I/cgqe6bLjBwRi3l2f Vf2qMG4blMpo9IUdx2x2+G+rMvbf8oR+yE6Ji6cr8cIs0QGYbrSEByWF9kQ0ZTWkxLyO Q0jHdPPmzlttdtE+EiTLDeLoCVok11ColXy0M9GmZkJVck3XDvR9wYq31FGsyXyuRTV6 FRTw== 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=gQjxsSRS4ydNcXF9pucXevV0+AhUrLegN/w6TYUgMI8=; b=cu9P/lnxFXtYenGORbgFisc/vqsyd6L5U7fdXmsBerrgPW5DaMogr5iZaZvc6bPKKM 2tB5nhi//UOjiuRChJvCc54EPHeK7kFm8EG1raiW877mRZAYahncGZP2qFVtgeA8y6OR rGzFPi48cYkOsxhmt54fPxY8Zj5fUOAASJdQ/N3HBomImMHd1Hewqs98c47dUQzZCEmY QboopT6Uu/SgpzaafHQ/fRSyh6IJuY/iHlVFWQmwqePOf1k6GpYBU1Ie8x3XUTX49Yhp ciV6guz62IV3Tcv7ufAZXdhSM0q5FDNcayXSH9O4fNseFwzspoKf2ARZSRuBFQhrRfaP zVTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QlQmjDn6; 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 l11si1327291jah.65.2021.05.26.21.30.33; Wed, 26 May 2021 21:30:53 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QlQmjDn6; 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 S229758AbhE0EaI (ORCPT + 99 others); Thu, 27 May 2021 00:30:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbhE0EaI (ORCPT ); Thu, 27 May 2021 00:30:08 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8710C061574 for ; Wed, 26 May 2021 21:28:34 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id r26-20020a056830121ab02902a5ff1c9b81so3195861otp.11 for ; Wed, 26 May 2021 21:28:34 -0700 (PDT) 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=gQjxsSRS4ydNcXF9pucXevV0+AhUrLegN/w6TYUgMI8=; b=QlQmjDn6z94Pppj7T6ya1xFBxp8g7V7WNNOAuKdXGgb3KDrkqtwkVDa6QjqQfRWAxp IehrTUHtLS6NFrBncRzcTsQYiZLw15sRT9wEdEuiJcwgEBde2WYAlf+7AmR9kfiGNuZ/ q4lE4PWUKlArihSjZ0aEAajWdrfiiShwI9I3Zrqfw+sskK/FPr8tndpzOOWMHVEuRSyI AablOMg/nR5ZmgAAx6xrK52OsbC8erqhiH3+7HcgZZV5Ko0y/XryB6h6vXXQsoArMNOG 1B6TC8GDa4ygPY+cHmdd8QpGCUk6GYBr2iasz6lLidikx0ODqbPVS8CEinxSeBkQ/t6D EZgg== 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=gQjxsSRS4ydNcXF9pucXevV0+AhUrLegN/w6TYUgMI8=; b=DuxIZT6uDAjoYqJ12ODuolUNDFTeoyl81OrTn95xSH37lpDTBbZSgK1+VszWPruylv 7KlmnvrEP0m5varuoD+HX5GmiUSuLPiBO7gWYGf+iPk+NFQQ5chcJ2wDX0FJoM9rYzZ7 ZlEmaFccDQRpxqZXbTXGIcuJ0odZz+Q/bYfXcnOzPLDoy915X7URjvk3YHmZQuqZZ1bq 3GhSwhXb2JcmNCgUPpPbV4gZ5TfaRm4yqorAeGSi7QkKjcqjXpMbkN393GiSRyWQPu6Y l+XLaNzhqPImkkBlNzPkKxK4xp0HqNsu1e421zvEFyIZCe5MzF/5O1fij4eeBSHeGlEC F6ZA== X-Gm-Message-State: AOAM530p4VoB+HKOthdPXA32TNrpkxLBEvqQHoAzJOedszIpCVhEZMV8 l7mMdmQf3K0B+vZacuS7r1e0PDs5Vr5BnPtmaMw= X-Received: by 2002:a9d:74c6:: with SMTP id a6mr1339496otl.132.1622089714372; Wed, 26 May 2021 21:28:34 -0700 (PDT) MIME-Version: 1.0 References: <20210526084726.552052-1-lee.jones@linaro.org> <20210526084726.552052-25-lee.jones@linaro.org> In-Reply-To: <20210526084726.552052-25-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 27 May 2021 00:28:23 -0400 Message-ID: Subject: Re: [PATCH 24/34] drm/amd/display/modules/hdcp/hdcp_psp: Remove unused function 'mod_hdcp_hdcp1_get_link_encryption_status()' 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 Applied. Thanks! On Wed, May 26, 2021 at 4:48 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:374:22: wa= rning: no previous prototype for =E2=80=98mod_hdcp_hdcp1_get_link_encryptio= n_status=E2=80=99 [-Wmissing-prototypes] > > 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 > --- > drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 13 ------------- > 1 file changed, 13 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c b/driver= s/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c > index 26f96c05e0ec8..06910d2fd57a0 100644 > --- a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c > +++ b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c > @@ -371,19 +371,6 @@ enum mod_hdcp_status mod_hdcp_hdcp1_link_maintenance= (struct mod_hdcp *hdcp) > return status; > } > > -enum mod_hdcp_status mod_hdcp_hdcp1_get_link_encryption_status(struct mo= d_hdcp *hdcp, > - enum mod_h= dcp_encryption_status *encryption_status) > -{ > - *encryption_status =3D MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; > - > - if (mod_hdcp_hdcp1_link_maintenance(hdcp) !=3D MOD_HDCP_STATUS_SU= CCESS) > - return MOD_HDCP_STATUS_FAILURE; > - > - *encryption_status =3D MOD_HDCP_ENCRYPTION_STATUS_HDCP1_ON; > - > - return MOD_HDCP_STATUS_SUCCESS; > -} > - > enum mod_hdcp_status mod_hdcp_hdcp2_create_session(struct mod_hdcp *hdcp= ) > { > struct psp_context *psp =3D hdcp->config.psp.handle; > -- > 2.31.1 >