diff options
Diffstat (limited to 'tools/quick_dump/chipset_macro_wrap.c')
| -rw-r--r-- | tools/quick_dump/chipset_macro_wrap.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/quick_dump/chipset_macro_wrap.c b/tools/quick_dump/chipset_macro_wrap.c index 8bba9f71..862281e2 100644 --- a/tools/quick_dump/chipset_macro_wrap.c +++ b/tools/quick_dump/chipset_macro_wrap.c @@ -38,15 +38,3 @@ unsigned short pcidev_to_devid(struct pci_device *pdev) { return pdev->device_id; } - -bool igt_check_boolean_env_var(const char *env_var, bool default_value) -{ - char *val; - - val = getenv(env_var); - if (!val) - return default_value; - - return atoi(val) != 0; -} - |
