Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5165279pxb; Mon, 15 Feb 2021 11:15:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNGKyMNZk1GiNoWuTNGlWmeIAB0iqQZYjtFJr9XSnQABAUu85vHjhln5p8oUoRrccAdk08 X-Received: by 2002:a17:906:85d1:: with SMTP id i17mr3747939ejy.338.1613416530853; Mon, 15 Feb 2021 11:15:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613416530; cv=none; d=google.com; s=arc-20160816; b=HZn91pQkFuHzx5xj3UFGtoIxSh0FtH0o3IliWBJCjHT/EV+pbf9NfuILvUGEm0XKQz X7IKx4/gDySxxiWHIKU4bUFA+zz4HYtVObv6Pud/ZvwKzI4iaWDnfFaehkgIlxtYYs3r VqdFLcGRn5JgIEY28rn2I877opbFwTGzoiI1kFdKqS7f9J82fUtR6W4DOrfDstW+244M BTftcTLqBo0TA9htE6VBsHZQDcK6LcGP8Y9+CwwyIlhofPpSR2AAxPdj4sqltk3T+1EA XkrzO9Lt5AubTdOZNR2hq+dO/fPUeavaju1eKUSCs4Tbf8u4He5SARATAHcK53qQEq6u kP2A== 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=vyYLUpmU6IFRJn6DkBKZeMcUTefwAqDTD3LpFwE2YRQ=; b=CuLTg61nkTrXfrNVMXwVNIFqWZw6EAuP/bzWEGUJqdLsUvHc0710R+bezdDzeA6g3/ d4OTw5IiNNP3BDpC4ESQz2LrvKiQvliohaw43Qk/nUrKF3Vq/981Ej9ACczvNPbVG8pv gvRiNJoawjo9hGotVNfXJu5rkDZ8YddKNTmmUiwyLGKBxOR/iuCzWHZTWfkCn4I30gJk SYQBHeG4he0azjQk7NI85vcXeE4cTsEFoVmoNNvcACAUFcrWd6+aa8hhw2+A/SNdVMi6 W94U2Wk8RA39QZSFDGzCYTdsIPb2KGVRMe1qzMNEv2VxI8+4RTv5D2rtDFNCDUQoHN/3 TcBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rDBXPPfd; 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 rp11si12913464ejb.724.2021.02.15.11.15.07; Mon, 15 Feb 2021 11:15:30 -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=rDBXPPfd; 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 S230459AbhBOTMW (ORCPT + 99 others); Mon, 15 Feb 2021 14:12:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhBOTMO (ORCPT ); Mon, 15 Feb 2021 14:12:14 -0500 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB788C061756 for ; Mon, 15 Feb 2021 11:11:33 -0800 (PST) Received: by mail-ot1-x32d.google.com with SMTP id q4so6958859otm.9 for ; Mon, 15 Feb 2021 11:11:33 -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=vyYLUpmU6IFRJn6DkBKZeMcUTefwAqDTD3LpFwE2YRQ=; b=rDBXPPfdjkQEcUimIMOZ9aaFzfzO8+xnlCYgYQ3JYTiqLSTBLZL/k8vns9Ay9aM1pT W61lEwJNeibCKdPJpXJXd97lDPSZ3ET1aHvUkyTZQTSQqB7RcY/SJ7F1tyAoCgsuPfnd nlyeJjlW+UW4LXEDMG80mek+H5aMYRUMqa9fOmIkx7Xu7yANlTT0vpErmyKgrA3/8Odb ZKCpW3sT5FlFtaVBvmMtODwiUZPyvJDFD38DmfDqqnF8ckhoWP3oH/TJ9Ket6VLOLmIh DZtFOUY+e3dx5XxRby1NlZ1nlyTqH4gHKTh0if/F8d+QY3u3xneaOlP9N5KGL/9WIkcJ 2uLQ== 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=vyYLUpmU6IFRJn6DkBKZeMcUTefwAqDTD3LpFwE2YRQ=; b=ihkW6elqIyZxB9Klw8kyMZBcjP6bmwu4AKU4efLmg2ECIA+1MJM+oleQ6PP9ERnckm 3a7OJMcF+1XKzpMMR2HeB6NmdnuWcuO89umE4BFhPpV36FxCq8QChDct3Us4irEnLPpd YTTVuxixy9NwhjA+R0iGlc2s5VCSSF0+tsGeeEBiJZaocvI+f+egNOXo+37fyP375HMm 4erl5aNpmwu2kB3r1YAmj/oyCwjsofY/BX4IbJns5KlyZV3esYYP4X3+aN7qvtKjaVHz 21XNgV20y2ccPiAfUas2PuSFH+sJ6md6xlPH/y3xbDO936Rm+TtDs94qZJ/mMOSBqkW+ zkAA== X-Gm-Message-State: AOAM533HAiYonn/QAArQ5ir3s7q42dUILp2/xAsZNJK0Eni3+0YU347P P+xq6FvhjcddCIiHVEnIunzCWe+rdePGI2GrkMI= X-Received: by 2002:a9d:12f2:: with SMTP id g105mr13136151otg.132.1613416293415; Mon, 15 Feb 2021 11:11:33 -0800 (PST) MIME-Version: 1.0 References: <1613384489-3102-1-git-send-email-chen45464546@163.com> In-Reply-To: From: Alex Deucher Date: Mon, 15 Feb 2021 14:11:22 -0500 Message-ID: Subject: Re: [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t To: =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: Chen Lin , Dave Airlie , Daniel Vetter , "Deucher, Alexander" , Chen Lin , Maling list - DRI developers , amd-gfx list , LKML 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! Alex On Mon, Feb 15, 2021 at 5:43 AM Christian K=C3=B6nig wrote: > > > > Am 15.02.21 um 11:21 schrieb Chen Lin: > > From: Chen Lin > > > > Remove the 'radeon_packet3_check_t' typedef as it is not used. > > > > Signed-off-by: Chen Lin > > Reviewed-by: Christian K=C3=B6nig > > > --- > > drivers/gpu/drm/radeon/radeon.h | 3 --- > > 1 file changed, 3 deletions(-) > > > > diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/r= adeon.h > > index 5f3adba..a1c38b5 100644 > > --- a/drivers/gpu/drm/radeon/radeon.h > > +++ b/drivers/gpu/drm/radeon/radeon.h > > @@ -1111,9 +1111,6 @@ struct radeon_cs_packet { > > typedef int (*radeon_packet0_check_t)(struct radeon_cs_parser *p, > > struct radeon_cs_packet *pkt, > > unsigned idx, unsigned reg); > > -typedef int (*radeon_packet3_check_t)(struct radeon_cs_parser *p, > > - struct radeon_cs_packet *pkt); > > - > > > > /* > > * AGP > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx