Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/ttm: Remove needless 'extern' on functions in header.

Minor tidy up.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Tom St Denis and committed by
Alex Deucher
96bec198 f7871fd1

+6 -6
+6 -6
include/drm/ttm/ttm_page_alloc.h
··· 47 47 * 48 48 * Add backing pages to all of @ttm 49 49 */ 50 - extern int ttm_pool_populate(struct ttm_tt *ttm); 50 + int ttm_pool_populate(struct ttm_tt *ttm); 51 51 52 52 /** 53 53 * ttm_pool_unpopulate: ··· 56 56 * 57 57 * Free all pages of @ttm 58 58 */ 59 - extern void ttm_pool_unpopulate(struct ttm_tt *ttm); 59 + void ttm_pool_unpopulate(struct ttm_tt *ttm); 60 60 61 61 /** 62 62 * Output the state of pools to debugfs file 63 63 */ 64 - extern int ttm_page_alloc_debugfs(struct seq_file *m, void *data); 64 + int ttm_page_alloc_debugfs(struct seq_file *m, void *data); 65 65 66 66 67 67 #if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU) ··· 78 78 /** 79 79 * Output the state of pools to debugfs file 80 80 */ 81 - extern int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data); 81 + int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data); 82 82 83 - extern int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); 84 - extern void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev); 83 + int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); 84 + void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev); 85 85 86 86 87 87 /**