From bc62567b77cd3a790e2e8e2d7fd81ce950bfbe3f Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Thu, 30 Aug 2012 14:17:01 -0700 Subject: clang: Fix static analysis warnings from clang Signed-off-by: Ben Widawsky --- tools/intel_gpu_top.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/intel_gpu_top.c') diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c index e561865c..76a2b0bb 100644 --- a/tools/intel_gpu_top.c +++ b/tools/intel_gpu_top.c @@ -466,8 +466,6 @@ int main(int argc, char **argv) break; } } - argc -= optind; - argv += optind; pci_dev = intel_get_pci_device(); devid = pci_dev->device_id; -- cgit v1.2.3