Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4846506pxb; Mon, 15 Feb 2021 02:52:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6YUpMojklE5uhamjfibhOlrYxi7ujMNLWc0+jAXxHo3bIzvnd3BK1Gu9Dr51OQqxY7gWv X-Received: by 2002:a17:906:bce7:: with SMTP id op7mr9365970ejb.358.1613386330819; Mon, 15 Feb 2021 02:52:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1613386330; cv=pass; d=google.com; s=arc-20160816; b=YbXrSk5elU6bB58dJir3oIW9ywJDmNYOldMZ/6GQ0X1biAO4Dv2pgeZcObwWwd43jn WETttiq9FwHAI3y27WaOjagj2nGXQH9EBxUtqg+kx+sKRVB1t5HfC9G9sSE/j0QFXu+T Rc82bBAzLVWnL2Z9oXZ2LqlxAz3nLH+liJheEGU2wzHWctspdI3n0pd8NaiJQKxI1hnz Z1oFcsxUPMMpm/1zH0nGvoFjzp56LW8ou5t+5UtU4WW/BptbBmI41tzdyDTmFYwpUCLy JbFUa/VNa8BotsOFVwlWvCOroY/nQrwX5hQHuCp1Oe77UsH1b9MuN1li9SW0/pX8veEj /51g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-language :content-transfer-encoding:in-reply-to:user-agent:date:message-id :from:references:cc:to:subject:dkim-signature; bh=86sp+52zSvbD7jDG3vteE7BLVNH+Mrd8kK6ooB82VI4=; b=pFpXIQpdtWRJMsyesnsYHOXzv32/UKzn6IURBJbxzEug8XNVlIM8shbC18+aSPI64N nOZ0/DHI8q4LstRIxJBOUPyGBXtk6y5hiJwUiws44F1o7BpRONHSEqZZz0Zg8hiMTY8C aHEP69dHnYLgm9+Gbo9dq7XgN4HU/gVl7z2AmUAdwBEsz9ZKcgbCZHJ8TlC88JYxbc/n QA/XQ7ddZhVPMjzbPwl8pW9kzNj+pKWh4e0YYIP6do7OvH6empdqjyXjnb/Qu+6D0RkG KqmHPhVJ8FThN/LPAqeObfep9NCBSPKzwWfiAK6h+7DHSZ+ZOLopNttRdMAMxg1OAyMa /MdQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=oJcNHu9q; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=NONE sp=NONE dis=NONE) header.from=amd.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g24si7096872ejx.406.2021.02.15.02.51.47; Mon, 15 Feb 2021 02:52:10 -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=@amd.com header.s=selector1 header.b=oJcNHu9q; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=NONE sp=NONE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230257AbhBOKux (ORCPT + 99 others); Mon, 15 Feb 2021 05:50:53 -0500 Received: from mail-eopbgr680083.outbound.protection.outlook.com ([40.107.68.83]:58599 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230055AbhBOKof (ORCPT ); Mon, 15 Feb 2021 05:44:35 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KlVLC+b3+Kzy4RbxCwBNVt8eWW728+dQSC9YgpacCmPGMcikPfG6OFL0Q7uUvLjnsHJj1fMR9HFT6A4SksYaagjIg/NfjWd/tg1demI4xAJpj93tl2Jf/I61kdAzXEJ7ByQZOB03SXFl+eUhDKLZygO/woRB0SBwScHrlAI4BTuBxBye9PKkQrfb29XCTOIpOVnH3ezWMGQr8LQoK41/PSve2GcKQwCLGSCBLN8XT+xrkkeGCbXIWQ5BrjhAiPy0YKJyvWTTpF4QkIxoNuLGNqPS2L1+/mLlcyQ5gg/8N9+RDlhyH3FWwsApOvrXR4PtvEJTM63/EFOTYgeW0wgjRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=86sp+52zSvbD7jDG3vteE7BLVNH+Mrd8kK6ooB82VI4=; b=dvk3aKnpz+IcCs6He+jjJrDnxwh4QykA7wfJ3+ow6vDCcm7uUV/3f+kzvgAI0r6Ze7IGiFa9ENKFG3ckj8f8RuzQVCtGGmwWsqXaeuKehdyzFx8fSySiefvrEzdRN7GyqhG54kHexNSXu2b2M9E5Czm0wKMNj5xrgh5oHfYUSXHTXIOSK6q1CiXuArMy79D+/8AUDwUdJAttxgFwtc7pkOLqMGukqLsqJ65/tZInJCAhajFjxVXyYYVfy4YFqzxHGg1k7urP0RzRkkb2Js4ptDInLBSmE81dSywAwY6uHCHM0oAenao2+Pkkypo9XVm1D9YUlgP2MW1vnCU2j5eHsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=86sp+52zSvbD7jDG3vteE7BLVNH+Mrd8kK6ooB82VI4=; b=oJcNHu9qX0M+ksDCq9Sit+HTuLcis8+y8c3dHii/+AepbybeuILF25DZ0eNVjFTBLnxRgt9cg7tQ64NNgv7t4L5/ZYrLuh+UYJG0+psWJVjKjSJNk1LoKNvXjRRGXJw1ygeHmvBDDE9yFUmT3Q4TS8zrERkTEjwRID0ayf1jOjs= Authentication-Results: zte.com.cn; dkim=none (message not signed) header.d=none;zte.com.cn; dmarc=none action=none header.from=amd.com; Received: from MN2PR12MB3775.namprd12.prod.outlook.com (2603:10b6:208:159::19) by MN2PR12MB4111.namprd12.prod.outlook.com (2603:10b6:208:1de::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.29; Mon, 15 Feb 2021 10:43:47 +0000 Received: from MN2PR12MB3775.namprd12.prod.outlook.com ([fe80::c1ff:dcf1:9536:a1f2]) by MN2PR12MB3775.namprd12.prod.outlook.com ([fe80::c1ff:dcf1:9536:a1f2%2]) with mapi id 15.20.3846.038; Mon, 15 Feb 2021 10:43:47 +0000 Subject: Re: [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t To: Chen Lin , airlied@linux.ie, daniel@ffwll.ch Cc: alexander.deucher@amd.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Chen Lin References: <1613384489-3102-1-git-send-email-chen45464546@163.com> From: =?UTF-8?Q?Christian_K=c3=b6nig?= Message-ID: Date: Mon, 15 Feb 2021 11:43:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 In-Reply-To: <1613384489-3102-1-git-send-email-chen45464546@163.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [2a02:908:1252:fb60:e074:3b37:7224:b69f] X-ClientProxiedBy: AM3PR05CA0116.eurprd05.prod.outlook.com (2603:10a6:207:2::18) To MN2PR12MB3775.namprd12.prod.outlook.com (2603:10b6:208:159::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2a02:908:1252:fb60:e074:3b37:7224:b69f] (2a02:908:1252:fb60:e074:3b37:7224:b69f) by AM3PR05CA0116.eurprd05.prod.outlook.com (2603:10a6:207:2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.35 via Frontend Transport; Mon, 15 Feb 2021 10:43:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 52ca4302-eb54-41f6-7190-08d8d19e9326 X-MS-TrafficTypeDiagnostic: MN2PR12MB4111: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:949; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jRqYp6th6fsHiqT6LUPtxrjGCY2klsxlbEfn49SUNzD3pnu2CRO3ro/pVMwXgivXpNDnsShY6rRmCFN+Kb6f2oL9rXa1Wca8KF3wxKVi4qREbHt5FgqtujDmkWmbTj+pPFnYcYghABc42BiW6ixjTMq82kpgyoTtx82/gi898zhvpkrZog5i7Tn4os98bR5ug+G9AKChtcWh8HSrs5/XlLs9R8j1zfcup7u7ZZX3Zq+pSg82FkOZayA+L/clyttTFmm2gYUZ9f/0LhMd+GVeNbdB6v3NX6lBXCkCsl5OJoqzXVSGjx5KDoaMn8lSMUoEN6jM/2Yk1WG5knvu9dbzVJocPZ1KnA3xHro5UqrU5a8NLyDprG2aOixiMkG7QEgL2Ggs6GlmQ1bQWIOu9Q37dLFwic4wY4i6gex0XZKjuqFxu22IJo1Z1FDRhgfbHuEBRHKZb5f0ig5UOYSyy7QmjSN+FWjB6YS9HKSwWzHri5VRDci3J+bHZSqqv3h0NigbxRZXNetUvlN5T3CJgQ5AAHbMPzG+7z4yYtn8fAg5Gf2oLQF9FDK3t5pTznG8esiyw/hT2RwIosWNl3872dAhUTADxovvhoPRnprDRyF2PdE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB3775.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(366004)(376002)(39860400002)(396003)(346002)(4744005)(52116002)(478600001)(4326008)(86362001)(316002)(2616005)(5660300002)(2906002)(8936002)(31696002)(6486002)(8676002)(6666004)(36756003)(66556008)(66476007)(31686004)(66946007)(83380400001)(186003)(16526019)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?c1p2dnprbXdHdGFpRzNoVjZKUHVjV3h3WW4ySTZ2Zit2WE85ZisyM2pYOWVn?= =?utf-8?B?QkFPRWlpTFJ5ZmJYQVl6OVlJU21RQjNQU2tzbk4rRjBBSEVLVW9mN1VqdDli?= =?utf-8?B?bGVCUVFvN2IzaWdaZjhxOE1qOWhDbW8wWkNBVG1CNzFHL28rYUkwNTF2a3Z2?= =?utf-8?B?M2JHVTBiRTNBRUdnSThRK0tyeDVoSzd4UHRrZDUzbVZQL3dXNCtZeEI5aWM3?= =?utf-8?B?WHEzL09mUllBK3NuTDFKUStReWI5Mys4eWVBV0xkWlJZZnBGWGpNa2JrSnpv?= =?utf-8?B?azc4V2I2K1dWZXNQRHJNOFVsUmtUdG5YbGp3Yk1hZnM4bmQ0RGE4bmd6YnIz?= =?utf-8?B?OGZTdUtnd0ZLS3hhTmY5K0xodS9oeXRzRjk5MjdMbVpWNjM4SmQ0SWJWTjdY?= =?utf-8?B?cnhqTVJpSWlUbUJIZksxUzdtbk94cnJrWnhiSlFCSy9tblFyZ3doa1UvTUpV?= =?utf-8?B?VGhXTXJRYXhBT2src2pBYU9TT3E1RGZzR3N4MVhzcHJwalhKNVlPaEJya2Rt?= =?utf-8?B?RitBVUIrZ1lMckNESUQzZHpVMXVkZmZoZ1E1dlk5ej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bGxIZ1ppbVFvV1NBcWhzbVNBL256UHNmYnp2?= =?utf-8?B?NUZKaTZSZkRhbUR3bHdXOCtLR2lNMlFaM1NCSFJtUW53RVg0MVhtRWRqSk9r?= =?utf-8?B?Z0lpUXhoYmxLdGZhbGgzcVVjdGE2bll6aTRvUUxVNk5MT21md1d0TjlFWGI1?= =?utf-8?B?b0p1ejBKVlN4blBWdGg1ZWkzNXAxTDVFdVZBZW52SnBWdTRQSFM2MWo5R0hw?= =?utf-8?B?akUwMGNmZlp2dnlXMGlwYWpwZit5YU1OZVVHeVpXRmdLTURZU1p2czdvcEdR?= =?utf-8?B?V294K0svOGY4WkNBT3IwNFR4RDRCNjJ5VTBENmxWanBpU2J4a2F2aHFyZ2oz?= =?utf-8?B?MkZKalYvTUQrU0ZrNXl6T1VOSXVkTXVJRGE3RXpodzdwcFFRTElIVThBUWhz?= =?utf-8?Q?RaD8CB/nRtfxu?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52ca4302-eb54-41f6-7190-08d8d19e9326 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3775.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2021 10:43:47.8392 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XJQRKnpx6kIOcAX/TzXKf5uXrAt1ni+vivbI0Q+UoeCuzOzose4yw0AwqHCw1WGn X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4111 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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önig > --- > 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/radeon.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