drm/tegra: Remove unneeded include
authorJon Hunter <jonathanh@nvidia.com>
Mon, 28 Apr 2025 15:34:35 +0000 (16:34 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 7 May 2025 15:25:22 +0000 (17:25 +0200)
The header file 'tegra_drm.h' is included in gem.c, but this file is
already include 'drm.h'. Although there is no harm in including this
file again, it is also not necessary. Furthermore, the header file is
located under 'include/uapi/drm' so ideally the full path would be
used to be explicit. For now, just remove from gem.c.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20250428153435.1013101-1-jonathanh@nvidia.com
drivers/gpu/drm/tegra/gem.c

index ace3e5a805cf7475ba67ce675d2b5dab826e9e15..dbc1394f96b87125f519dfa48bc0c2c2f2d798c2 100644 (file)
@@ -17,7 +17,6 @@
 
 #include <drm/drm_drv.h>
 #include <drm/drm_prime.h>
-#include <drm/tegra_drm.h>
 
 #include "drm.h"
 #include "gem.h"