From patchwork Thu Aug 24 10:48:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "StDenis, Tom" X-Patchwork-Id: 9919861 Return-Path: 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 E9E0460349 for ; Thu, 24 Aug 2017 11:21:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA20828B9E for ; Thu, 24 Aug 2017 11:21:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEFF128BD0; Thu, 24 Aug 2017 11:21:11 +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=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham 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 698B328B9E for ; Thu, 24 Aug 2017 11:21:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CCE656E6B7; Thu, 24 Aug 2017 11:21:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0067.outbound.protection.outlook.com [104.47.36.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id ABB5C6E6B7 for ; Thu, 24 Aug 2017 11:21:08 +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=/v9qYvXo3izvf/cmTu6eE8sFXc8rTAngPrAWqelnKW0=; b=abtyD1+xA2Pajo7wXl250cn7mpPExcFrKfhM2u1GIRuyWlwIaX/fp07ThSWrGe0hDkCuOpOrTUWNFla7kSK7S1Ou/NLrGTyssQqps+RzPZdBgZxt6NYJV057f+bFuhU9aUvhuAt9q6qFnXdpAQwiwmA2oOUr0Gh2ARGr05ZFAak= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Tom.StDenis@amd.com; Received: from localhost.localdomain (67.70.69.105) by CY4PR1201MB0072.namprd12.prod.outlook.com (10.172.77.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18; Thu, 24 Aug 2017 10:48:25 +0000 From: Tom St Denis To: amd-gfx@lists.freedesktop.org Subject: [PATCH 2/2] drm/ttm: Remove needless 'extern' on functions in header. Date: Thu, 24 Aug 2017 06:48:18 -0400 Message-Id: <20170824104818.9973-2-tom.stdenis@amd.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170824104818.9973-1-tom.stdenis@amd.com> References: <20170824104818.9973-1-tom.stdenis@amd.com> MIME-Version: 1.0 X-Originating-IP: [67.70.69.105] X-ClientProxiedBy: BN3PR03CA0106.namprd03.prod.outlook.com (10.174.66.24) To CY4PR1201MB0072.namprd12.prod.outlook.com (10.172.77.147) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5f0c8186-ab96-4a14-e934-08d4eadda635 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY4PR1201MB0072; X-Microsoft-Exchange-Diagnostics: 1; CY4PR1201MB0072; 3:/1hE/RPra76zifTuUtPGpWW9IZYAIWRxjgxprRVRgTGH9Lm4JjLGpCVGXemzIrEiI6WPaUlgQy9eIDk3WaUrq1yNkdQRcm0EbvKKNRcIjTgO2HybACIHfcfUrGd6jADjCNOrbjzuDMpClErHcCj0bRzOFVjm9tZkRMsBtbZCYN7uiZuUf0PFTvR5ZsZzXhyro83aes/yjl80/LQLeJpOvLef0zTkmvK4wCbFS336LdCzjJZj4KlCjChuKoNwO1Jt; 25:DVOzVfTr3PlN8K2F7hkQhLoFbUSsv0L1zXy8qpsY53/DtxjNsWMu5ItAyOrDn/3VREMq0HoOR7RbICA2Z9fXYtOffnTL/e7FDSBUy2DTZARVswF5kBeDIE2Kgw2BmpdbCYjWbeUgbpP1edpVmVCMy5qpZeWDNkIqnHrPefl5JgAIGyrIpl32WhY+qkDaAKTAsSVueIlYWAxDF5jA+TaP03gEKZt/mPWHGCTlNiKfR0l/6NOQYV937pEHnIGHiPFfUrKSh43YZn2GzzUx+snZ9pZYN0V4sPnwGKOAvJ9rA7/gS+n3t64EX09X3R6kKP4DghrlzplPBPqhL35WjL3IGA==; 31:1qc7r6QkZaCXZl/KOoqoy5fS/MazkWj1KWaw2cdmEdTiIdSbQ4DaNrlCe1+Qrq0V242tvXg9wXEgf6Rfl1bIqUWj3M+6/dVyl2vCqo+5Eoxt+j9qlqCAn6/brfi6+XsiGbdVp8Ynv3w/t5H1ExsEHw2LHuUFXaAMfcrnaDDqYABjIO0SPg3Ecxqjw7waV3Xer6vvTKzjMP2l2m+R2K7ELp4StGwk/9PTczJWGrWS4P8= X-MS-TrafficTypeDiagnostic: CY4PR1201MB0072: X-Microsoft-Exchange-Diagnostics: 1; CY4PR1201MB0072; 20:YS5sOmpTJw6QhDmcTdMzbDhe3K3i6D1F4WvKoWoM9vRwJs0UxS2b3tFMeIRDkes0+EwhHOyD79HeZRVlRRHm6wXL12nodSW+Qu0uGtYYdBWsrpyEMlG70BuAycqBmHtBGm+UQskfC7f9BwsRIPI58tn6jxAAPtzLD4BeoxN/2zqolLXMaxMXwpt/53uMiqJG514xOnbDCE2C+bYs+g8ZWuadzk4YeMlsgN5BpwNTvrKtp4c1ETWdAcnXYSgHqueIF/xiNYQZgzDJhjUa3R0zRPkk4oFuzNwS6X6hKbb0d316LRx/79CXu4E9ZvnN7vE8XhirMROYyYMkLRbUzTChZ/GOQrj1xFnJ7XObAobsigj0F2iHUKcfndm8N3iTBbayW56cCx9pLP2GmbeeydOGy6bzFP3crBLPOsjyFckzvjzUyOABfHo6z1JS5cMib0CGfg1Y5qhDXFtgSZJH4MCOVpYGsTm8YPeR5NePDvIhYT8TVXO/D6fJxr/weA7XBy7A; 4:7a8DQXYqQBoIbexeYjPsvI8AEY+HK0/g2/wTxEE/fGKOoFaNGxisA35PMLN3UE5KnYpVvqUn/Wl4oI6H6CywxFvAvBvQwDE7nqTPz9vHF0Rk058bdrxZAnITGfHAvhHse2+revHIHl9xjtTJ9nu36hoL9UHq0neGWv1mtk9KYxSVbpsnVOC3Azf0pKWvJl5NpHP1TeggB11LlSy5eq9QaxCEVT0ldXBcyzWeS1UmlcW5SuDYMdqxsvfLjGF09/zjRM4mrh1UrZUijqqfsr5A/07CQRofKiDg1XjeuU3krtY= X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR1201MB0072; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR1201MB0072; X-Forefront-PRVS: 04097B7F7F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(6069001)(39860400002)(199003)(189002)(2906002)(50226002)(2351001)(25786009)(450100002)(42186005)(33646002)(2361001)(478600001)(7350300001)(8676002)(5660300001)(50986999)(53936002)(68736007)(81156014)(76176999)(81166006)(97736004)(6512007)(6666003)(66066001)(3846002)(4326008)(101416001)(47776003)(72206003)(189998001)(110136004)(105586002)(305945005)(7736002)(48376002)(6506006)(6116002)(50466002)(1076002)(106356001)(2950100002)(36756003)(6916009)(86362001)(5003940100001)(6486002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1201MB0072; H:localhost.localdomain; 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; CY4PR1201MB0072; 23:jA1vra1NYsQ7I9ZouwYv2OO3LqNuxInJaBK7o9J?= =?us-ascii?Q?/OjAv623fINIAH3ocSlHYEwRWnXuOzVH6xMoL5dp+toAw7f6F6vqBhyra6P9?= =?us-ascii?Q?Kei/qbzMLLX5B2bOhPz3AbYNbT9vr1JA37hmiEaao5PDiMdXLpYaEjo/80RH?= =?us-ascii?Q?ZPLm5xPM/C0X9NNuXVGxxbQMx3kwVgGEwrDphKkobsNedKcFY1jDwZ9rDYvw?= =?us-ascii?Q?dCY8cfvE4rrvHHsRMmJmAL60pe/RFUwDAWniSulnveYsYeyFNY6bhQ6wuc7Q?= =?us-ascii?Q?3I6yORNRrYjrufS1SfRRrEKhK2dzpuUa1oO+tq1Ge1yPqXt7YQFrBZ1NILWz?= =?us-ascii?Q?kJHcp3NJWqapm6nCA2AxYxLnIuqg4U9g/m9Gw2Zp4gJgvdudQDM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ange-Diagnostics: 1; CY4PR1201MB0072; 6:c8+qBz6yuYo3at4HsZYzDuG0Vz0JibdptlpYBv4QtN7wer4d7oMpWICGzUO1YlzdZs2yUtbEv6DdXFWXnpsr4eUrtrFrYm3GQ4Gg1O1yqwKbjMOoMxIKHkfz1iKBf52amgcUrZ/LFRiYnAqkTrPiHIal98iTZ6VGUV9wF1vj8o1mDW0Rlepjyqk/qDVVVZ9pFazB8CToO+Raks7PIT3JCAz/7DbRNES6qxUOOqrOvhIu2mC1MTNCCYsbC+KVCSlEYBJiOzszi4d2iG+BOyq56Wzud19MhNFVagNqnQHJfeTBuBbTL37sQbbb1IDji/UGkoY5R5C0EEGvapKW8gF0FA==; 5:ZrD7zLPufwQzUqRwmgetxmCM1K+Txy+vOttjthfaRWHZOYRXOgb4U44GJ6M0c+Ujo9nowKcrGHVklLtLrLo+QFbdHSLJpeKXrWxMmOKJPfmbwF7BJ0g14BHZk+gYXVWmMUk+eKZpRqzMNq+I4FelqQ==; 24:7PSRBwc9Y9KIsH4iOBUJhUU0om9Odicc01CFZcsZw730V/5yFONgnxgwz2vCXTajZIrNZDUZni6HUDLU2AtUmSAzuNQEBexmmPBmHYXS2Oo=; 7:kqEYlYTrMGLADrB23CyojlTzWHI/3xeHCGzzJEpOxo7PX6fiaR6K62VxvMATpOy1xMvGtrlA95Yfgf5WHKXkafkoxYZpEUb1gow47+/7R4EOIIK26d8f6ysozY6SlZdipfJe6M+kZNxAkDvxRHKG+3TLWaP432IIEu+66Wr7jknxZ3/ZgDPgiEekOuFG5raMdDdiE106Fc+CxA2Dw+DKW8a+HpbhYDAJ99ZYnRhHeeU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR1201MB0072; 20:OmrusuErY2p/N4n61oVajP1IvByjrg6OExA78aN2fWAG4M9jVqFAfQFkG6pjnG1huvrguIo+ihYXfiEMLhX0sRgyMoBVjlqMDwZo0OfcWjgeR8XkHTx/xWyHmYWzNUyGulELjmd9u6TWy4OEga4BT9icsIP0RhiPpR7Tf3OS65DIUFBZ53ljg/pX/tJnEEdG67FLrcQSUdfmG0z3Z0nnwLNcNP+qm/EOEEJRCGME71+imNvdelIq0Cjhv3QVAwQa X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2017 10:48:25.8930 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0072 Cc: Tom St Denis , dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Minor tidy up. Signed-off-by: Tom St Denis --- include/drm/ttm/ttm_page_alloc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/drm/ttm/ttm_page_alloc.h b/include/drm/ttm/ttm_page_alloc.h index 4400c08169cd..19bdd907613c 100644 --- a/include/drm/ttm/ttm_page_alloc.h +++ b/include/drm/ttm/ttm_page_alloc.h @@ -47,7 +47,7 @@ void ttm_page_alloc_fini(void); * * Add backing pages to all of @ttm */ -extern int ttm_pool_populate(struct ttm_tt *ttm); +int ttm_pool_populate(struct ttm_tt *ttm); /** * ttm_pool_unpopulate: @@ -56,12 +56,12 @@ extern int ttm_pool_populate(struct ttm_tt *ttm); * * Free all pages of @ttm */ -extern void ttm_pool_unpopulate(struct ttm_tt *ttm); +void ttm_pool_unpopulate(struct ttm_tt *ttm); /** * Output the state of pools to debugfs file */ -extern int ttm_page_alloc_debugfs(struct seq_file *m, void *data); +int ttm_page_alloc_debugfs(struct seq_file *m, void *data); #if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU) @@ -78,10 +78,10 @@ void ttm_dma_page_alloc_fini(void); /** * Output the state of pools to debugfs file */ -extern int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data); +int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data); -extern int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); -extern void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev); +int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); +void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev); /**