From patchwork Thu Aug 8 13:41:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 2841095 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CCBCC9F294 for ; Thu, 8 Aug 2013 13:46:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B75512033F for ; Thu, 8 Aug 2013 13:46:17 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9B42F20250 for ; Thu, 8 Aug 2013 13:46:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CD5AE62F3 for ; Thu, 8 Aug 2013 06:46:16 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by gabe.freedesktop.org (Postfix) with ESMTP id 8FED4E66DD for ; Thu, 8 Aug 2013 06:41:34 -0700 (PDT) Received: by mail-ea0-f169.google.com with SMTP id z7so1436258eaf.14 for ; Thu, 08 Aug 2013 06:41:33 -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=9nUaw6x5Jv78oWCmLpwE5CBtNHF/dFFpaK9sj4KeL0U=; b=eQvPEdW26zKlye3fVRIdFk0agDzQTVd6iHxBFH8CA2Sye+phizaYKOrECbHk4tpYY7 f/gwQNFOqpR60/m9JV/E+QVJuWvCxFq3+BLPf8IbvDMZzZ/GkrzwcPuK+nvTPu/rK3iH CHFHkwvlIClIcBxaRyLTwjLOTnptyfmL8FLiE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9nUaw6x5Jv78oWCmLpwE5CBtNHF/dFFpaK9sj4KeL0U=; b=nBRsQLsBsPTBDDxUEJdS+Vrz+CPP5dbobqhlbzmkyEk+svAPS7Px462Q+opMoOqYbO GsW8dw/gJXWCyYOjXl2hjfcLKvbpxmqo7Qe58G4vMzz+CQBqiUUdU9nisK9409ODr84/ Vl6KyXkvkJ375TIITwlfbAGvox8W04jmmDu5cVq/tQZeIWVvPk5ntoqsjHkr1Glbtkff ccvNRNawGuok9ku+yEjYHA81Av6J65cNSZEKCus30StiVdU2vdtoLozoCaeacPwG/foY PQz5zTz4HWl0h6IrYOVOJExPqGpztwSH5wYsWmxRwIP8BJO2J4no/7Nb+5aejL0QwLKq OzOA== X-Gm-Message-State: ALoCoQmuYoJkXF+VtIPAR8AHSgXiplcWym04Ldo0jRhfCWpJDpzpVumj4jikWNwq6pXYVQxWI6Cb X-Received: by 10.15.99.133 with SMTP id bl5mr8204945eeb.92.1375969293675; Thu, 08 Aug 2013 06:41:33 -0700 (PDT) Received: from phenom.ffwll.local (178-83-130-250.dynamic.hispeed.ch. [178.83.130.250]) by mx.google.com with ESMTPSA id bn13sm19282226eeb.11.2013.08.08.06.41.31 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 Aug 2013 06:41:32 -0700 (PDT) From: Daniel Vetter To: DRI Development Subject: [PATCH 01/25] drm/omap: kill firstopen callback Date: Thu, 8 Aug 2013 15:41:11 +0200 Message-Id: <1375969295-18929-2-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1375969295-18929-1-git-send-email-daniel.vetter@ffwll.ch> References: <1375969295-18929-1-git-send-email-daniel.vetter@ffwll.ch> Cc: Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 KMS drivers really shouldn't need to do anything on firstopen, so kill empty callbacks. Signed-off-by: Daniel Vetter Acked-by: Rob Clark --- drivers/gpu/drm/omapdrm/omap_drv.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index 2f9e22e..47e64f9 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c @@ -524,12 +524,6 @@ static int dev_open(struct drm_device *dev, struct drm_file *file) return 0; } -static int dev_firstopen(struct drm_device *dev) -{ - DBG("firstopen: dev=%p", dev); - return 0; -} - /** * lastclose - clean up after all DRM clients have exited * @dev: DRM device @@ -609,7 +603,6 @@ static struct drm_driver omap_drm_driver = { .load = dev_load, .unload = dev_unload, .open = dev_open, - .firstopen = dev_firstopen, .lastclose = dev_lastclose, .preclose = dev_preclose, .postclose = dev_postclose,