Message ID | bf0f349e-adde-d20c-cfdc-ddf500c8df0d@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 8F5A86021C for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 6 Feb 2017 01:24:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8288C20242 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 6 Feb 2017 01:24:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76B9826C9B; Mon, 6 Feb 2017 01:24:55 +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=-0.3 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB, T_DKIM_INVALID autolearn=no 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 009B620242 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 6 Feb 2017 01:24:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 114AC6E294; Mon, 6 Feb 2017 01:24:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 858 seconds by postgrey-1.35 at gabe; Fri, 03 Feb 2017 17:38:12 UTC Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0057.outbound.protection.outlook.com [104.47.34.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id 935846E038; Fri, 3 Feb 2017 17:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1aZTxloOiRsnZujdCsR2QSbt46aGSjXeX9pK2zKUEbA=; b=Pkjj0L31otTt0bbAawAw0EeOcJPoE4+W52wYyZpQ2MZRW8IPeFxTZmPE9j7ROQw9URnv95OSQPype5EtQL+HAa+0UhqisDySIK2U8WCBraSFoanOl4n198BAaq4iiRt5MkZW96SXFLs08Z7y8wQCzz3WbOO+d3BlyZPZdxNsDUA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Kent.Russell@amd.com; Received: from [172.27.224.27] (165.204.55.251) by DM5PR1201MB0188.namprd12.prod.outlook.com (10.174.107.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12; Fri, 3 Feb 2017 17:23:52 +0000 Subject: drm/ttm: Fix unused variable warning References: <124f223e-07df-197e-6126-8787c8b06406@amd.com> To: <amd-gfx@lists.freedesktop.org>, <dri-devel@lists.freedesktop.org> From: Kent Russell <kent.russell@amd.com> X-Forwarded-Message-Id: <124f223e-07df-197e-6126-8787c8b06406@amd.com> Message-ID: <bf0f349e-adde-d20c-cfdc-ddf500c8df0d@amd.com> Date: Fri, 3 Feb 2017 12:23:49 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <124f223e-07df-197e-6126-8787c8b06406@amd.com> Content-Type: multipart/mixed; boundary="------------CF4E771AA4BA1D8AAE015A51" X-Originating-IP: [165.204.55.251] X-ClientProxiedBy: BN6PR22CA0040.namprd22.prod.outlook.com (10.173.23.26) To DM5PR1201MB0188.namprd12.prod.outlook.com (10.174.107.12) X-MS-Office365-Filtering-Correlation-Id: 58efd20b-f0c6-4d43-e617-08d44c596cfd X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:DM5PR1201MB0188; X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0188; 3:E9UJ8rr6JWq/HGWF6s6iw4KxipgAOqxJ3LwnvzXmgVwZZ67Zue+ZrDAMxLdL4ASIPH48klTV1lMZhmnFZjC9T4eW7it/FZaHdAkjxMizOWENg45/AnytbOcaBSw9mFVir+NUfGdQS/ZMP1gIJVXqm69t3x8OSSfyn5caGRcwkywFoJlasziFkRJa1PKsv+E2XoNSJtc4ANbH3LCzWmW7ZPy8csBbzJwCL6iViA3uA4uBieXhEf7DIRGVTyktgJcG3HTQqrE4TzNNE2gLIdLrflNkk3lY3Zs6FDnyodJjG6k=; 25:mxk7V1Rs8FG53zxiLf/3T3cMibC51siEC++JJyJDg6JHb2uNEeS5RuZzjPCDpM5t8mV8g179nwGDXhxhCwRSy1khMQ3CD5wUdGdqE+XrwsRoi1vT7lNkIGTcrfOkaHhYUpLns8QrFZhAYnGDo4/Tpu1G4oG86TTkZp7ZZ/2iuD6w1nHtjZXq9BU2LRpbhAaynKc9G/BzHAlCXfezGuHaj6dq+edVm9s/KpktZfVEuYg4utjRBEDY52saQlIYmjeCswIPry1keHzmM7BBMyH8IElxO1dLEbMF1tIonNsPYhXLKdB7UpreHQ+ZI1oLgWkhSFHagJvxxLixTg7EQn3xX3BmvMgYDxCVpSmL30U/Et5lgPOs1vrSR1xAs/eMeb3glIbNjyz1qYP3XNiZxGaIXRZfclFV4HDPPxDdfKT1/2dSMaPxMgYJUGaHML2d6FUAmPCfF48vbhhuGJ/RcQeGdeiO8LEzoenEmGDKvmwPZveQ87lb1Th5dupqeSUzQGjH X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0188; 31:Mf4EITyzihoZz9afnqHLV6TvP0yXUevLehhHbhR8RxqmVLLj9Q89YYSHYZdJXCI7UYb95vsJ3uIjPoj8zAwna3jKRYTP3xUT7F74KKwHT5zeXd4AYsGAcJ454HTeaJna2V677xQO57iZizAJYG+q7PMbm/KamGtHj44zfyOnrrNxD4/oaEGQuYwuNsAZAz7j4PkLT4CwGK/7yYco3MU7qmVx+XS0xdeKAVgQtgqT141FNvT+IWvlQok7LQR4IKG6tpbVudwwkHea+Wv6H4xKJUqVwQioTazpr7Qw8jm835Sl99ZOwi5TZFK0bGqExfeE; 20:EujXlC2owk5kcZ4TbuTGM2oDdji008ykpoU7Ah6ZOw5wuw/RDNyTWr/DCG2jNjdUqTP1/N1fDPr3PL3cL2dRGH8nuKdZNMFzLFOgFzl9u5yRU4xlVB5BKM3qk4ZKRtk0Jc5GVeVRTKf3EHhTSVRzGTDfBtYq6hSVcLIzLHDSdzk0hbqEQkIppGEDb1NQd+M88a4HHhjdvDHiOYV2ufsjvmU5ZVh9XISavYrKt46viYi9s/X+VFr8r9bge7xtLnYRdif27IjbsNqenm2OfwjdAMBC1tkWcs9aLM35vu+Js98jEPpQr3Recd1QXsJ/C6JfAFnB2WCJhdKEsQR4Gsq9YKBmWZ7nSTwnBygV99LA183kVxfv+twJUN86th5T7kztpbOdIMZchNPKurRO9y8LXKfu6J/5JdXSaP1gh5TQjmJlQ2B+up5pbs9ycVvl4JMaUz9CBwy5SPlhWda5LtrRdX/bz0JrRepbiPZp9DnuuMpY7q8EexKR+2otiJR3w+PA X-Microsoft-Antispam-PRVS: <DM5PR1201MB0188F0E5C66F79F5EF73D179854F0@DM5PR1201MB0188.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415395)(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123558025)(20161123564025)(20161123555025)(20161123562025)(6072148); SRVR:DM5PR1201MB0188; BCL:0; PCL:0; RULEID:; SRVR:DM5PR1201MB0188; X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0188; 4:Kg3AwOA5iCYfgGrmAUPJkNWOHu1k4nt/OGXiK/5G4QHsExctO43uH2rLX9TnYXtoc+30Y7ivaqMtXPRq2E60cA61wPLJohkzfMDaARTkbeDuvmLEBgwAjmnjLVSeUG6z1EiYpPnfKvOW4m3nyZ4IjwN493nNW38hBXq5LUwxlbMItoUYATR4nBwh7USdxLM8onTrCENa8sEbpUMHU2ATaHddEu4NkXwxmA3IrnZ0PxfO5aQVyLiGgRlWkGrIhS1iPSjN8oKoefNlpj2KlSPH1g9xoHP5MmQVBYIrj8Bnyb82v0KfRlBaKNMc7/9BUiCr/wme1TMyzIEpQfZLSrtoGPurNLElcQSA5i6dZ/kO30AO1PHPatnrULMKtKRSww1jJj9Wkx6qRzRXb7mR00u/dOjqX4RxdckqXKZFieB/QcMdSJz5MT0JiavUt3vLKkA2k4A/2dYFKQtgad+nFfWx4o2JriYOFW36eQs9NtzJus1+cWka18ew1kZAmEQqTJ/cWg2C6VWyc5g8a9RM+kWQcwfkv7PPwdykuGOZPJxmCTuZAUgRy7aPwlhnkBjqsw/tgoPECxmtynQfE8X0uz5ZYZvPW2J98lpRi9PYkqqRyHkSqbKD81cYz9v56DZga3KVnMvWizDP3Yft/H2k9TrrnA== X-Forefront-PRVS: 02070414A1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(199003)(189002)(6116002)(81166006)(101416001)(450100001)(305945005)(66066001)(189998001)(65806001)(8676002)(106356001)(6486002)(7736002)(5000100001)(86362001)(36756003)(2906002)(54356999)(64126003)(50986999)(38730400001)(568964002)(2476003)(53936002)(33646002)(92566002)(65956001)(81156014)(76176999)(5890100001)(107886002)(68736007)(2950100002)(4001350100001)(6666003)(3846002)(65826007)(5660300001)(25786008)(84326002)(90366009)(42186005)(270700001)(97736004)(105586002)(4610100001)(77096006)(31686004)(564344004)(31696002)(83506001)(5001770100001)(512874002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR1201MB0188; H:[172.27.224.27]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR1201MB0188; 23:UHDzx4GZYAMF5w0cVELSFBiFQ4vz+O2ghSxYN3B?= =?us-ascii?Q?DCWnYGtpr/Xe5hOiwfcFL1/cSIp/bOtPaTc6/RYfUbHr+sVs/3PVAo7NyOAu?= =?us-ascii?Q?Lr5g6OuehgKotMYYqudvR9MF4TqjfeiMq/bWEkXSmAg1zGbABR94RoIuC+3a?= =?us-ascii?Q?/1fCAQ8sImiE6VvAdKnchGohc7V/b861dOcn44QAVv4uVWebrhgcTStZ94Tj?= =?us-ascii?Q?DGIZ1pLCKBoB/K1XHtWdcJgYzsSrARXgLAvwYpQ79MeHuVEz3yIrSn0A00MS?= =?us-ascii?Q?FiKVHbYTC0Oiw/KGPsQu188aSijqnmtos5bf/sUKbibSGn6py9IqzE+rbjVg?= =?us-ascii?Q?9OMesJDX4xcxYNIRYoSTIWF919sUOzz04MOcKSAHJNb9Ahq0TyKdJBB3NiOi?= =?us-ascii?Q?TW2SxV6C1e0dYff8+uJU15tupGc9okBsU/TCUrKv70Fm51+QF+13iCHWuDLc?= =?us-ascii?Q?DFy7GuhNEGCEanNVraPxHqRGQyPK0U6lUF2gxCgn3h0htOuyDFQagfDO0X6Z?= =?us-ascii?Q?vr7mONJAp0Ier408kbePYNxxSsfL7ztbLR1LJp/6gFUI4HaqVFB/Hix0qNbA?= =?us-ascii?Q?pNjZGlW/ljIX6yyuEYKtIjDOa679AQ1HdfJgyxSklBX0f8YkPdrvDcAGE/iX?= =?us-ascii?Q?0Uz3+kiWR++sme9/ILAWGPKEp4fp9myjlZoSqcfVUsCs0NIkFgJD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3D?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0188; 6:dW+5BuzkohNp95WV9rOI9G28LZsxV45TqdA+OFbky/+gt5Z7N4SFBw96ocYx7AuM5s5nBLloX28eIneTCxMjCcWJlIKIE+owMRMREvr1GvKeDtbbaTltRR0/NbUGReRBFAloWHa155Yjmd7uIIfg/WkzKtMIBMPcwvcgNUwjSfQZSypFkv7gQgsKbaUvlV1DZC1B2IdK2zHE94ttPHKpVxW8GLTXy0v59Hs/+GwxxgTP8zO4LS6WzmCLFd9qzPCirtOb6oe3P080+6Eb0/mAr3kz+6jxlAEW6P401oX6nw/s6atcu9lpuboMvYQZKw60jPehKdZpKuSNMoZbeRshj7Mg9gP9xzLEnFsAR0NO/+saHs8PHzqN8BHHz8pt3zCTczmSm0V7RXDP8srMx1XPMZYUhyVREluCjWTBBiNnOfE=; 5:yBP99FhAs+FXOUBVRwss2nA4go2y9FZhOST4WP15TCsdPwOaCsi/sHZAk6CaP8Onq4b5UsX07/ABql4shn5Jkt+22hEExuIvr0V++7Q4ehDPlVUP+mPS1zo3ys1V0ENfTDXXyP6wuwFRNWp3fw3Trg==; 24:+kdkLwM6ft/Oa+dsi8f9xLdBYHHT6AEL4+d0ON9XnBgqiK2ULvr5tLCRFg8kURc4sNwnEf/sEo4R53SiEh0RLhDMyTDKfaUxtwGKG9Jh5bI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR1201MB0188; 7:DLMFa3pevqKSDKXBckdiJEXiGBc9YS52/CiUgsr2FNgXqY+vl3e0Se7KqZlEDCkDrO7gbZ3RDTdIYcdqHl7COXS0RzWPcCqFJjDZVVE54HyM/tCS2kd8VI185Ua05KHejRQjOld6Zf/Hex1xg3/kTPZPD8VQPYoi/kUL82tgXcaIRh4amWCQUH6KcY4MKU1S9jVXXU23UNQCdmL3NUlhvBd3xuSbU1vcsg7fnDE3uHAoMfrz83WLYhKx00WFPIqILQlqcnWrTHJwuLbL0nf3QxklCfmmxnG4L6uSAC8FXHLQ04LDVA+oVOs44+rhf8Fpq60FYlIYcq1zYH1pIdWVU0Fll4twrMBGJ8PreJc87oJuL5i5us4Q0bzl8U5O0v0W3SvbvzR4aEDYPx6ejAFQ+O0yh6QhSnJiItzy6MU+XsiAEZEZXMf0gBiiHYlj3NFBslpjRjIMSdV4rK2S2ZA0qh0vZpsmve/og+Nl5mQMGGs7Zbo3yD7HQukgudg33mx8fJrQd2yAWmu8ETJrhooZpw==; 20:FC4W8rJj4bEiiqtWVY8c9xbaJR1wVBVdk8rsdHizxmPVJiXSWnUJsTQLKVbKvkyEwC7xQ0P+dGNDp8/CtWL+PDpKZk3B/VHX2Mh2DEEoMpAlmUPAHAY/MjBAbCHBhxdCmlB8gGjkPG3PZyFoacvz2jsrYnFCwGWZXMDnDdHsu51z8eau++KpenYc6EcHhW9RGN2eqk82UB1jY4yysjB15xXYtKmLhC2X3sVerMeiaFbMDVZTVt1FgVTCtOjz/Pac X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Feb 2017 17:23:52.7549 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0188 X-Mailman-Approved-At: Mon, 06 Feb 2017 01:24:20 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
From dfdf89a8dff0e378db6fa9578f75b02eec02ca0e Mon Sep 17 00:00:00 2001 From: Kent Russell <kent.russell@amd.com> Date: Tue, 31 Jan 2017 06:44:10 -0500 Subject: [PATCH] drm/ttm: Fix unused variable warning Remove an unused variable in ttm_bo Signed-off-by: Kent Russell <kent.russell@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> --- drivers/gpu/drm/ttm/ttm_bo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index dfaeac4..bdb5812 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -230,7 +230,6 @@ EXPORT_SYMBOL(ttm_bo_del_sub_from_lru); void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo) { - struct ttm_bo_device *bdev = bo->bdev; int put_count = 0; lockdep_assert_held(&bo->resv->lock.base); -- 2.7.4