drm/amd/display: Drop unnecessary header
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 13 Feb 2024 21:35:55 +0000 (14:35 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 15:26:08 +0000 (10:26 -0500)
A long time ago, the slab header was added to multiple files in DC. We
also included it in the os_types.h, which is included in many of those
DC files. At this point, there is no need to insert the slab.h header in
multiple files, so this commit drops those includes.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c
drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c
drivers/gpu/drm/amd/display/dc/irq/dcn20/irq_service_dcn20.c
drivers/gpu/drm/amd/display/dc/irq/dcn21/irq_service_dcn21.c
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c

index 39530b2ea4957cc0a6718f322158e101f15431d0..b30c2cdc1a61e3b9adf6111c3f3bc8493d5b4786 100644 (file)
@@ -23,8 +23,6 @@
  *
  */
 
-#include <linux/slab.h>
-
 #include "resource.h"
 #include "dm_services.h"
 #include "dce_calcs.h"
index 86ee4fe4f5e30c3920e9671c430271fe59a89364..9f0f25aee426a4c874c59c4d90e5f865980f851b 100644 (file)
@@ -23,8 +23,6 @@
  *
  */
 
-#include <linux/slab.h>
-
 #include "dal_asic_id.h"
 #include "dc_types.h"
 #include "dccg.h"
index 60761ff3cbf13fd8ac16273d5b95874e88d45852..2a74e2d7490939d2f58f7237058855468b9155ea 100644 (file)
@@ -23,8 +23,6 @@
  *
  */
 
-#include <linux/slab.h>
-
 #include "reg_helper.h"
 #include "core_types.h"
 #include "clk_mgr_internal.h"
index 25ffc052d53be93b4ac49f7bdeeec16741efb59e..99e17c164ce7b8bb74f4b9edf9af0e6d07c30028 100644 (file)
@@ -23,8 +23,6 @@
  *
  */
 
-#include <linux/slab.h>
-
 #include "dm_services.h"
 #include "dm_helpers.h"
 #include "include/hdcp_msg_types.h"
index e8baafa02443490774addf2bf048345963dffdf1..916f0c974637236a5231b951e08d2f74f3780926 100644 (file)
@@ -23,8 +23,6 @@
  *
  */
 
-#include <linux/slab.h>
-
 #include "dm_services.h"
 
 #include "include/logger_interface.h"
index 03c5e8ff8cbd2b8db3bf8ff642bac176db82a373..42cdfe6c3538244d84d9e02206684e07cc952d05 100644 (file)
@@ -23,8 +23,6 @@
  *
  */
 
-#include <linux/slab.h>
-
 #include "dm_services.h"
 
 #include "include/logger_interface.h"
index f9c5bc624be305269f4bacc58bff148b53905cbf..a2387cea1af9a184124121b3d631740e01c41484 100644 (file)
@@ -24,8 +24,6 @@
  *
  */
 
-#include <linux/slab.h>
-
 #include "dm_services.h"
 #include "dc.h"