diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2020-06-24 14:14:01 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2020-06-24 14:14:01 -0700 |
commit | 41e5172b57007b51b3c6a31b2077ac737a6fabbc (patch) | |
tree | fd4f3c973daf594ff7680e9b5ceea24e61969c55 /samples/nv-control-targets.c | |
parent | 31b847f0e49c1952476b309a71d10bfcdb8d4ca3 (diff) |
450.51450.51
Diffstat (limited to 'samples/nv-control-targets.c')
-rw-r--r-- | samples/nv-control-targets.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/samples/nv-control-targets.c b/samples/nv-control-targets.c index 4cdee93..d5660ee 100644 --- a/samples/nv-control-targets.c +++ b/samples/nv-control-targets.c @@ -82,8 +82,6 @@ int main(int argc, char *argv[]) int major, minor; int num_gpus, num_screens, num_syncs; - int num_vcs; - int num_gvis; int num_coolers; int num_thermal_sensors; int gpu, screen; @@ -179,32 +177,6 @@ int main(int argc, char *argv[]) printf(" number of Frame Lock Devices: %d\n", num_syncs); - /* Get the number of Visual Computing System devices in - * the system - */ - - ret = XNVCTRLQueryTargetCount(dpy, NV_CTRL_TARGET_TYPE_VCSC, - &num_vcs); - if (!ret) { - fprintf(stderr, "Failed to query number of VCS\n"); - return 1; - } - printf(" number of Visual Computing System Devices: %d\n", - num_vcs); - - - /* Get the number of GVI devices in the system */ - - ret = XNVCTRLQueryTargetCount(dpy, NV_CTRL_TARGET_TYPE_GVI, - &num_gvis); - if (!ret) { - fprintf(stderr, "Failed to query number of GVIs\n"); - return 1; - } - printf(" number of Graphics Video Input Devices: %d\n", - num_gvis); - - /* Get the number of Cooler devices in the system */ ret = XNVCTRLQueryTargetCount(dpy, NV_CTRL_TARGET_TYPE_COOLER, |