Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3421104pxk; Mon, 28 Sep 2020 17:52:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUblZ5dq4Q3egrNKsEeE2tJe6cePkj+96d57e8pyb+FyksjBAq36y6vpVc66jsuHlVVviW X-Received: by 2002:a50:d68a:: with SMTP id r10mr671472edi.9.1601340746074; Mon, 28 Sep 2020 17:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601340746; cv=none; d=google.com; s=arc-20160816; b=BAqvk+4qm70sFd+wRk0JvKxZEx1CId0fOxGoR0PT2YmZHdLi3q6/gelWHx9tRszp/E lMVovyTl+aSm8gJHxLLC7bMDB4TBGdb5wS9Z+BLEMPMNe6c0SNOWVbvnribdzTyPudog L3GnSjR27P/PS5zzYE5Te0EMSxkPLGnPNsiRYf40/ISVm0tMszOndJVCPsH0JUU9hHhX P7cvlPZI32wKhxfwypZaIytiB2TLA/acxmJV/AHIHkfzVGw2PnHAFHdcGz0se2pD+5jI VxA7y0Jyk0vSUfrrSHfnOFe2c31uMoXWwsixRvmS/9Nx9lkdr4bs25HBmPJC2UEAO1hm FONQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=BKR5+xFbYJZAcAKBpgwpsruA9FnXpeJLx2NDspIukj0=; b=igk8cYos2E10I66tLT0E0JeEsShpNuivpZV01ZfISI1pS+OXhn2n8Up4fzmHCoTPyi 46AN005KF2LsncvkqWEBqCopWZBQbWWz3okGr8DeCutbXQq43/DLv6ARjrCg6oTBHXpj M9f37tjBgDWMHSE1k4U+Fv8V3uYFtxqFz7+mL7GTcY5MZHcipmiNlGxXRn7GkXV7K65P 0gFgzr0KvwTvPfChQ24Gu0y5mD73ZRWt/5n8LJw1BO2Iuj42SsM4dFxQ0h4G9Jc90myt k/51klS8PEqr9BVCebQykucj8pHTQPv68kMkkx/3aRQ5VwflJxObfuWrkRxrGzvFSa4O Y9mg== 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 n2si140113edi.70.2020.09.28.17.51.56; Mon, 28 Sep 2020 17:52:26 -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 S1727039AbgI2AsK (ORCPT + 99 others); Mon, 28 Sep 2020 20:48:10 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:14261 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725272AbgI2AsK (ORCPT ); Mon, 28 Sep 2020 20:48:10 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 504106180A59A76F8B2C; Tue, 29 Sep 2020 08:48:07 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Tue, 29 Sep 2020 08:47:57 +0800 From: Tian Tao To: , , , , , , , , CC: Subject: [PATCH] drm/hisilicon: Delete the unused macro Date: Tue, 29 Sep 2020 08:45:26 +0800 Message-ID: <1601340326-14049-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The macro PADDING is no longer used. Delete it. Signed-off-by: Tian Tao --- 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) { -- 2.7.4