From patchwork Fri Oct 31 14:17:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 5205021 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 96B4DC11AE for ; Fri, 31 Oct 2014 14:18:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43B0920154 for ; Fri, 31 Oct 2014 14:17:57 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C4D7320149 for ; Fri, 31 Oct 2014 14:17:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 196836E099; Fri, 31 Oct 2014 07:17:50 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by gabe.freedesktop.org (Postfix) with ESMTP id C70CA6E534 for ; Fri, 31 Oct 2014 07:17:48 -0700 (PDT) Received: by mail-wg0-f51.google.com with SMTP id l18so6572508wgh.38 for ; Fri, 31 Oct 2014 07:17:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/n8VIP2nBrKm0p79VPhDp/RMI3ZDe1ZYbSJdLOxd5cc=; b=UV2t9SqLF8nyppmjmzOx1wnr0kABVbH50R64vghDPmNbSisCu6D8+zC+PghVQwfUnZ unv1pu3q6guSwIgXW9lV8aeMzqJGZBHNxkH+NrWWFNKsznRjvM5CpjA53z0Zx21eaKHG OZDw1wa0cAn/+wOcJYxuNvQXOJ21Zk+HuwXI2E34axKbBrUJE57akaexRpZsLwrrP/8s HS/XEPRoT7UZHjENgMJZiPMXT3XGDIXwh+Qgq09eFUokhfUqTCuEZTIU4fdvjwJ5Vj8i 3Ls0HogO/080jE2xxreslaO24h316Via/DwXo9qOu/lijEyteQh/KR+35s00uwrwZdLZ PWDQ== X-Received: by 10.194.80.100 with SMTP id q4mr28382179wjx.15.1414765067836; Fri, 31 Oct 2014 07:17:47 -0700 (PDT) Received: from jasmin.cbg.collabora.co.uk (pakora.collabora.co.uk. [93.93.133.71]) by mx.google.com with ESMTPSA id ce1sm12256825wjc.2.2014.10.31.07.17.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Oct 2014 07:17:47 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 6/9] drm/exynos: remove unused wait_for macro Date: Fri, 31 Oct 2014 14:17:40 +0000 Message-Id: <1414765063-30598-6-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1414765063-30598-1-git-send-email-gustavo@padovan.org> References: <1414765063-30598-1-git-send-email-gustavo@padovan.org> Cc: linux-samsung-soc@vger.kernel.org, Gustavo Padovan X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan This is a leftover, all code using this macro have been removed/ changed already. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 7806981..9e4a7e1 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -23,20 +23,6 @@ #define MAX_FB_BUFFER 4 #define DEFAULT_ZPOS -1 -#define _wait_for(COND, MS) ({ \ - unsigned long timeout__ = jiffies + msecs_to_jiffies(MS); \ - int ret__ = 0; \ - while (!(COND)) { \ - if (time_after(jiffies, timeout__)) { \ - ret__ = -ETIMEDOUT; \ - break; \ - } \ - } \ - ret__; \ -}) - -#define wait_for(COND, MS) _wait_for(COND, MS) - /* This enumerates device type. */ enum exynos_drm_device_type { EXYNOS_DEVICE_TYPE_NONE,