From patchwork Tue Jul 15 17:22:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Klausner X-Patchwork-Id: 4556581 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 66D4D9F295 for ; Tue, 15 Jul 2014 17:23:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B90472010E for ; Tue, 15 Jul 2014 17:23:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 162FF20172 for ; Tue, 15 Jul 2014 17:23:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 02F5A6E109; Tue, 15 Jul 2014 10:23:02 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from fep21.mx.upcmail.net (fep21.mx.upcmail.net [62.179.121.41]) by gabe.freedesktop.org (Postfix) with ESMTP id B1CE96E171 for ; Tue, 15 Jul 2014 10:23:00 -0700 (PDT) Received: from edge01.upcmail.net ([192.168.13.236]) by viefep21-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20140715172258.FUPD6090.viefep21-int.chello.at@edge01.upcmail.net>; Tue, 15 Jul 2014 19:22:58 +0200 Received: from yt.nih.at ([213.47.1.69]) by edge01.upcmail.net with edge id ShNx1o00T1VKkul01hNx5a; Tue, 15 Jul 2014 19:22:58 +0200 X-SourceIP: 213.47.1.69 Received: by yt.nih.at (Postfix, from userid 1000) id 2A9892AC12F; Tue, 15 Jul 2014 19:23:01 +0200 (CEST) From: Thomas Klausner To: dri-devel@lists.freedesktop.org Subject: [PATCH:drm 3/4] Remove unused static function. Date: Tue, 15 Jul 2014 19:22:54 +0200 Message-Id: <1405444975-29236-3-git-send-email-wiz@NetBSD.org> X-Mailer: git-send-email 1.9.4 In-Reply-To: <1405444975-29236-1-git-send-email-wiz@NetBSD.org> References: <1405444975-29236-1-git-send-email-wiz@NetBSD.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 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.2 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 Signed-off-by: Thomas Klausner --- nouveau/bufctx.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nouveau/bufctx.c b/nouveau/bufctx.c index 23d6f09..4f76e5d 100644 --- a/nouveau/bufctx.c +++ b/nouveau/bufctx.c @@ -44,12 +44,6 @@ struct nouveau_bufref_priv { struct nouveau_bufctx *bufctx; }; -static inline struct nouveau_bufref_priv * -nouveau_bufref(struct nouveau_bufref *bctx) -{ - return (struct nouveau_bufref_priv *)bctx; -} - struct nouveau_bufbin_priv { struct nouveau_bufref_priv *list; int relocs;