Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8599245imu; Thu, 15 Nov 2018 14:18:15 -0800 (PST) X-Google-Smtp-Source: AJdET5cTU/tu3SKyf3aBj53LVT7U13yIatKWFkllbq3FgXVtzrhi8osEiDx9PFhvLE4kfv70ttUT X-Received: by 2002:a17:902:a58a:: with SMTP id az10mr8354977plb.151.1542320295553; Thu, 15 Nov 2018 14:18:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542320295; cv=none; d=google.com; s=arc-20160816; b=rYFjta8kuw13sih2mxQCT7YQG2jtTJHFeQo9qBFR6fWp8FfH+96GhsrH4vkNN5LCCZ PANlSNrACFB4DR0jaN7BjtkrZH8vbS2eSfqLzbmj11BG+/LzatbJ44COsyNGv5Hk/lYZ O082myZ9I539ItyHiOmePlXbG8vDrl0DVijYlpFjdzmXHcGzBseZI/rAD5oQGx5QrH83 JVhOWq+jSC6CyEHCf7A3DMMC+WtwnxSLDoRbGGeb5Xt+97IzfWIqqwhX2rDWX3k3SAi0 r259zykm4F9WIHTf1y8cF1sSGKI78h3X+uZYRFEuJ2uVljhb75QU9+9gqhg6By7WyiFx gtgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=cbw2ej/70aOG1LVZTK+2DCtHgjbMbIZvjp0BkY7gXwQ=; b=uGbqyTvBBJOV0UazA8VcvE++8hQ4Jmnd8XerZQWNw7Z5QTTeaVGlfiNs9ag2B8Ajed X8wd5RP0+WPLnTF+Lj00Vc4IjTdB3G32C3FRt1H2JFxTRveyFK6KKKYOUJhk9jHMy2F+ z920TzY4w/hBDPs/spMkoZeE0nmUZTFG9iU080FTGFFyG1F2tw8fDn5x8ZQmBAo3yR6x b90DPCc54GMotxqgN8mdkblUVHMk+MB4uz3MscODesoX1R9D3vVMjKKhuHc5db/yjQX5 aEm/OfCAlieWgFXytbur4LiYIVaHLFvrp4qI6EQbf3THT1BMbRX1R5BOF8YNBzL9Ttzo IhZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gluegarage.com header.s=mesmtp header.b=bJWffdQ+; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=om4rvsF5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12si861643plc.0.2018.11.15.14.18.01; Thu, 15 Nov 2018 14:18:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gluegarage.com header.s=mesmtp header.b=bJWffdQ+; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=om4rvsF5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388921AbeKPI04 (ORCPT + 99 others); Fri, 16 Nov 2018 03:26:56 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:47457 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388764AbeKPI0z (ORCPT ); Fri, 16 Nov 2018 03:26:55 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B9C4A23171; Thu, 15 Nov 2018 17:17:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 15 Nov 2018 17:17:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gluegarage.com; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=cbw2ej/70a OG1LVZTK+2DCtHgjbMbIZvjp0BkY7gXwQ=; b=bJWffdQ+dB1gPFFuJUBGebYHhG yWHM2x4SLialJB80TqcWKdjSF3aPjAILsvxmK3N4U1CCnjcKAEkArw2hiT1hLaPW lZ6P0ZRPnoa4Pj+TYV2sEmZaePKrF9DEBmyPJxU4zpO1gAn+Ha1iJDLCCuRfBS2N GbcjPrCWMOHxziDos= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=cbw2ej/70aOG1LVZTK+2DCtHgjbMbIZvjp0BkY7gXwQ=; b=om4rvsF5 yFEgLB+GcwOwfzG9cnTLDuxYcVQ1tiwfwan/gKFyU9os2xWLRUv1We53hX/HuCiq JGWIPO+lV4rZHxp5TD4J6d4WPO+51IjKfWYguzYpyeHfxmJizLv2FlJ3guUs2oPv vIV8KXpETOPyaMF/AFhrCLzrNS8yriAf7HDXWFudT0Zn96xwN6sTXkIN5WAmxBgT dDnOsArIhxOaMBv29pSpMMoWrEDjM0RB4N9MSe0fJHjxPsrY5Df1SeXQYfv5QqRG k23shmcMeFz9pV/MAwZW7hXXrR/wwkjhML7ztxvOO8VT0d8n6YDhKDKu52riMHVW cr+s2xwHSUGBzA== X-ME-Sender: X-ME-Proxy: Received: from zaca_x230.localdomain (unknown [109.205.143.80]) by mail.messagingengine.com (Postfix) with ESMTPA id 44961E49AD; Thu, 15 Nov 2018 17:17:10 -0500 (EST) From: Fernando Ramos To: dri-devel@lists.freedesktop.org Cc: David Airlie , Maarten Lankhorst , Maxime Ripard , Sean Paul , Jonathan Corbet , Alexey Brodkin , Boris Brezillon , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Gerd Hoffmann , Archit Taneja , Andrzej Hajda , Laurent Pinchart , Lucas Stach , Russell King , Christian Gmeiner , Marek Vasut , Stefan Agner , Kieran Bingham , Linus Walleij , Shawn Guo , Julia Lawall , Gilles Muller , Nicolas Palix , Michal Marek , Haneen Mohammed , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, virtualization@lists.linux-foundation.org, etnaviv@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, cocci@systeme.lip6.fr Subject: [PATCH 2/9] drm: remove deprecated "[__]drm_gem_object_[un]reference[_locked]" functions Date: Thu, 15 Nov 2018 23:16:22 +0100 Message-Id: <20181115221634.22715-3-greenfoo@gluegarage.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115221634.22715-1-greenfoo@gluegarage.com> References: <20181115221634.22715-1-greenfoo@gluegarage.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are no more places where these (deprecated) functions are being used from, thus they can now be removed. Signed-off-by: Fernando Ramos --- include/drm/drm_gem.h | 50 ------------------------------------------- 1 file changed, 50 deletions(-) diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h index 3583b98a1718..daa34328b5be 100644 --- a/include/drm/drm_gem.h +++ b/include/drm/drm_gem.h @@ -222,56 +222,6 @@ __drm_gem_object_put(struct drm_gem_object *obj) void drm_gem_object_put_unlocked(struct drm_gem_object *obj); void drm_gem_object_put(struct drm_gem_object *obj); -/** - * drm_gem_object_reference - acquire a GEM buffer object reference - * @obj: GEM buffer object - * - * This is a compatibility alias for drm_gem_object_get() and should not be - * used by new code. - */ -static inline void drm_gem_object_reference(struct drm_gem_object *obj) -{ - drm_gem_object_get(obj); -} - -/** - * __drm_gem_object_unreference - raw function to release a GEM buffer object - * reference - * @obj: GEM buffer object - * - * This is a compatibility alias for __drm_gem_object_put() and should not be - * used by new code. - */ -static inline void __drm_gem_object_unreference(struct drm_gem_object *obj) -{ - __drm_gem_object_put(obj); -} - -/** - * drm_gem_object_unreference_unlocked - release a GEM buffer object reference - * @obj: GEM buffer object - * - * This is a compatibility alias for drm_gem_object_put_unlocked() and should - * not be used by new code. - */ -static inline void -drm_gem_object_unreference_unlocked(struct drm_gem_object *obj) -{ - drm_gem_object_put_unlocked(obj); -} - -/** - * drm_gem_object_unreference - release a GEM buffer object reference - * @obj: GEM buffer object - * - * This is a compatibility alias for drm_gem_object_put() and should not be - * used by new code. - */ -static inline void drm_gem_object_unreference(struct drm_gem_object *obj) -{ - drm_gem_object_put(obj); -} - int drm_gem_handle_create(struct drm_file *file_priv, struct drm_gem_object *obj, u32 *handlep); -- 2.19.1