From patchwork Fri Oct 12 14:05:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Boll X-Patchwork-Id: 1586861 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id EDA09DFF71 for ; Fri, 12 Oct 2012 14:05:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AAA98A0E13 for ; Fri, 12 Oct 2012 07:05:47 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by gabe.freedesktop.org (Postfix) with ESMTP id EC6E49E9F4 for ; Fri, 12 Oct 2012 07:05:33 -0700 (PDT) Received: by mail-wi0-f169.google.com with SMTP id hq4so42842wib.0 for ; Fri, 12 Oct 2012 07:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=QSXOnX93283bM2v3c2cnddni9tAGciA1eTjW+pbhgdc=; b=N7VAfVE/uHT6tTvGrsfUFSlXO07Hd7Z9rbot43Rt2sTUWoCE1zrfOclZkByh0U1Fqs 2ypJ6PgYYs5oB407ZLPrfCCLRN95mKcsccmb415dHeQrL3Hews5MNynb0U9G4qqAhxDP 450e+Wm0ESDZAxIlpwmIofApuiOdOFwFakf+o5hjHApYvan3Ac/GrWE53tFA+U14lvaH wVlPSB20v3njTdLBqIAKHmgliWBVa+hms2t8tG7ADoaTwYPEVSomaj5g5DLbrH+f818o BKAPvxttCPGN/NIe1zyuznBHDurwg1UeEJa7tZvizwfHlTDKKUKxSbSQKNsL/IQ1BuLi 5/RQ== Received: by 10.216.194.97 with SMTP id l75mr2560784wen.67.1350050733204; Fri, 12 Oct 2012 07:05:33 -0700 (PDT) Received: from localhost.localdomain (p236-094.vps.tuwien.ac.at. [128.131.236.94]) by mx.google.com with ESMTPS id w8sm3368732wif.4.2012.10.12.07.05.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Oct 2012 07:05:32 -0700 (PDT) From: Andreas Boll To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm][RESEND] radeon: fix unused-function warning Date: Fri, 12 Oct 2012 16:05:24 +0200 Message-Id: <1350050724-32530-1-git-send-email-andreas.boll.dev@gmail.com> X-Mailer: git-send-email 1.7.4.1 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 radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but not used [-Wunused-function] --- radeon/radeon_cs_gem.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c index 9834bcf..b963140 100644 --- a/radeon/radeon_cs_gem.c +++ b/radeon/radeon_cs_gem.c @@ -330,6 +330,7 @@ static int cs_gem_end(struct radeon_cs_int *cs, return 0; } +#if CS_BOF_DUMP static void cs_gem_dump_bof(struct radeon_cs_int *cs) { struct cs_gem *csg = (struct cs_gem*)cs; @@ -415,6 +416,7 @@ out_err: bof_decref(device_id); bof_decref(root); } +#endif static int cs_gem_emit(struct radeon_cs_int *cs) {