summaryrefslogtreecommitdiffstats
path: root/src/loader/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/loader.c')
-rw-r--r--src/loader/loader.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/loader/loader.c b/src/loader/loader.c
index c828105c951..171b67f4752 100644
--- a/src/loader/loader.c
+++ b/src/loader/loader.c
@@ -486,15 +486,6 @@ loader_get_driver_for_fd(int fd)
}
}
- driver = loader_get_kernel_driver_name(fd);
- bool is_amdgpu = driver && strcmp(driver, "amdgpu") == 0;
- free(driver);
-
- if (is_amdgpu)
- driver = strdup("radeonsi");
- else
- driver = NULL;
-
out:
log_(driver ? _LOADER_DEBUG : _LOADER_WARNING,
"pci id for fd %d: %04x:%04x, driver %s\n",