Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3590638pxk; Tue, 29 Sep 2020 00:31:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJLcX09kmjSNGRoZXrUxOtIftmbuQ41XHKRyc/w6NI0URCOIyZSGwzoBxr1sDrJC3n+fyw X-Received: by 2002:a17:906:896:: with SMTP id n22mr140980eje.101.1601364698348; Tue, 29 Sep 2020 00:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601364698; cv=none; d=google.com; s=arc-20160816; b=AZWXu+2Crl7IQ2Sl4nmJN5GnyWQ0vaZcpS6UhUzxZ2h81UQO/pjcda/gveXZgS490p XiH5Qh9OPegCCvJ4aFMOsrQX5kUC5E1ETNEYqlZ0U92u8e0LY2XznX1QPqmVQryntL9+ g8NqaKRsIG/pmcIYk2jQmErIQy1yMG2f4YUtk1ycFMMwm6GNztx2EsdILUCiLOB+1Asn Wh1ZmGlw2bG4taa+DddH4inGFtgw61rsvg2FegxiofZOg+bhNWAkWepwDFS2pKaqZInu AH7R3bimzzD1g4a3gjSgNQzxd2Jf4UgvRFtk30o9T8axiRcyiaHyl+0qYm1tZE51PGTg jN/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=FhX2niZ/dDO7ootiIQ8D0NXZm4keh7GH9pbNCez2EcU=; b=Fb3BPIOMQ8Uv/VtKj6lA+0zwNb8VzI5FmLptFyIH/rEpPKJGYBZ3cuGKzIKiK8bLjN e1b+qdSxjMa+JBivr8NtJuVqYxs25qHP+WxMMqG6DGtyWmcJbdboRspSKoyj+IHNfMHv pmmOhsmz6uhfPtYdHDewUgSndfz4nW/esOUS5qOb/1/t5dGSjdQN11sFbV8RwPgFK9fZ TJBcj1BNMMiAWDD5aXAOl1CvGcv6uvX1NSt1nHqdg7K4R+1g7dmfTv3mFpLwEr3d7Mh9 yjEkRXk+E8hK760EvF1LKUR4ccE2b/qtiCeJ/3EJTIQt0bX45a5SlNZoyrBPxyyy3NOe lXxQ== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy18si2288004edb.148.2020.09.29.00.31.14; Tue, 29 Sep 2020 00:31:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725791AbgI2HaG (ORCPT + 99 others); Tue, 29 Sep 2020 03:30:06 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:48558 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725468AbgI2HaG (ORCPT ); Tue, 29 Sep 2020 03:30:06 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 74A5FFD013689A496091; Tue, 29 Sep 2020 15:30:04 +0800 (CST) Received: from [127.0.0.1] (10.57.60.129) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Tue, 29 Sep 2020 15:29:57 +0800 Subject: Re: [PATCH] drm/hisilicon: Delete the unused macro To: Thomas Zimmermann , Tian Tao , , , , , , , , CC: References: <1601340326-14049-1-git-send-email-tiantao6@hisilicon.com> From: "tiantao (H)" Message-ID: Date: Tue, 29 Sep 2020 15:29:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.57.60.129] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/9/29 15:24, Thomas Zimmermann 写道: > > > Am 29.09.20 um 02:45 schrieb Tian Tao: >> The macro PADDING is no longer used. Delete it. >> >> Signed-off-by: Tian Tao > > Reviewed-by: Thomas Zimmermann > Thanks a lot for the timely help with the review code! >> --- >> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c >> index 4d57ec6..b3a81da 100644 >> --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c >> +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c >> @@ -52,8 +52,6 @@ static const struct hibmc_dislay_pll_config hibmc_pll_table[] = { >> {1920, 1200, CRT_PLL1_HS_193MHZ, CRT_PLL2_HS_193MHZ}, >> }; >> >> -#define PADDING(align, data) (((data) + (align) - 1) & (~((align) - 1))) >> - >> static int hibmc_plane_atomic_check(struct drm_plane *plane, >> struct drm_plane_state *state) >> { >> >