]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/atom.c
drm/amdgpu: do not initialise global variables to 0 or NULL
[linux.git] / drivers / gpu / drm / amd / amdgpu / atom.c
index bf5aa053a58e56d410931a5e722d409d8adc51f3..515890f4f5a0e9c2b3d2ee9879646c8ef1d50c89 100644 (file)
@@ -66,7 +66,7 @@ typedef struct {
        bool abort;
 } atom_exec_context;
 
-int amdgpu_atom_debug = 0;
+int amdgpu_atom_debug;
 static int amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t *params);
 int amdgpu_atom_execute_table(struct atom_context *ctx, int index, uint32_t *params);
 
@@ -88,7 +88,7 @@ static int atom_dst_to_src[8][4] = {
 };
 static int atom_def_dst[8] = { 0, 0, 1, 2, 0, 1, 2, 3 };
 
-static int debug_depth = 0;
+static int debug_depth;
 #ifdef ATOM_DEBUG
 static void debug_print_spaces(int n)
 {
This page took 0.034055 seconds and 4 git commands to generate.