From patchwork Wed May 24 14:52:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 9746199 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C58F36034C for ; Wed, 24 May 2017 14:55:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBF902896F for ; Wed, 24 May 2017 14:55:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADE892899A; Wed, 24 May 2017 14:55:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 69BA92896F for ; Wed, 24 May 2017 14:55:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 154406E7C0; Wed, 24 May 2017 14:53:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id A97B26E7AC for ; Wed, 24 May 2017 14:53:03 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id k15so46615115wmh.3 for ; Wed, 24 May 2017 07:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HiDE/x4rjspfHelRf4gZIqW5o91raAJUbaT2Ul1wUIw=; b=S6xDLEI33vEOWS0QipBn/HLzmieL8fcKh5jmLzU6dmsivY8cg1MSyvs2CxgSX/1u5O Sn0E15+WuzMkDy7f3xT3Qba6MwPcV4uiBB4uqabGATl8W968tERk7B208PBakqpBdNvH KAfbNCl81A6ieZdfFa7EfwvYFMckLhFjYu3E0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HiDE/x4rjspfHelRf4gZIqW5o91raAJUbaT2Ul1wUIw=; b=aAYUOwlVmGLP5TXc7vsWfCJXAUEo5Qy9zbEMlbOMiS+Fg2aG26zNhQzk1fC7PFhICa wNvBE58Ss0XZU45bJKqfMN26KtpnzYV1pmYUWGhv0FNoy/4kXUDQ7xtZPDCZp3ouMWaI gjhrwaPJx73capnJksX77fG/QoSQ2Bkuih960vseJA81wU5NCMWAGaGQO32A682/PxPJ Wyj6HskyROLCzumjI31jH7qAFxhZ6eSkPgBAkcjoQbeahdLr42CE6LAuoA3cxuz8OpeR JjXq5fjgeG/x6qMnr9tORTLHWKbPQlkKBfXNJcYhRZ8eNPgRPFqPv0iIalasMaqPHQvh xXtg== X-Gm-Message-State: AODbwcATf6xj+HhzUwaXOUVQq5Tw8k7TAScXdlL61IREms1oGPjo2MTn HmU+jHVZakt2my1L X-Received: by 10.80.134.115 with SMTP id 48mr24699677edt.26.1495637582268; Wed, 24 May 2017 07:53:02 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5640:0:960b:2678:e223:c1c6]) by smtp.gmail.com with ESMTPSA id m9sm1778858edm.62.2017.05.24.07.53.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 May 2017 07:53:01 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 33/37] drm/tegra: Drop drm_vblank_cleanup Date: Wed, 24 May 2017 16:52:08 +0200 Message-Id: <20170524145212.27837-34-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170524145212.27837-1-daniel.vetter@ffwll.ch> References: <20170524145212.27837-1-daniel.vetter@ffwll.ch> Cc: Daniel Vetter , Intel Graphics Development , Daniel Vetter 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-Virus-Scanned: ClamAV using ClamSMTP Again, doesn't seem to serve a purpose. Cc: Thierry Reding Signed-off-by: Daniel Vetter --- drivers/gpu/drm/tegra/drm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index 51c48a8e00ec..0d8839244c3a 100644 --- a/drivers/gpu/drm/tegra/drm.c +++ b/drivers/gpu/drm/tegra/drm.c @@ -213,12 +213,10 @@ static int tegra_drm_load(struct drm_device *drm, unsigned long flags) err = tegra_drm_fb_init(drm); if (err < 0) - goto vblank; + goto device; return 0; -vblank: - drm_vblank_cleanup(drm); device: host1x_device_exit(device); fbdev: @@ -247,7 +245,6 @@ static void tegra_drm_unload(struct drm_device *drm) drm_kms_helper_poll_fini(drm); tegra_drm_fb_exit(drm); drm_mode_config_cleanup(drm); - drm_vblank_cleanup(drm); err = host1x_device_exit(device); if (err < 0)