drm/tegra: Remove unneeded include
Jon Hunter
maintainerPATCH 1/1 drm/tegra: Remove unneeded include
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 <[email protected]>
--- drivers/gpu/drm/tegra/gem.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/tegra/gem.c +0 -1
@@ -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"
Signature · 1 line
2.43.0
Thierry Reding
AppliedQuoted 10 lines · Jon Hunter
The header file '
tegra_drm.h' is included ingem.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 fromgem.c.Signed-off-by Jon Hunter <[email protected]>--- drivers/gpu/drm/tegra/gem.c | 1 - 1 file changed, 1 deletion(-)
Applied, thanks.
Thierry