removed debugging comments and printfs

Signed-off-by: Clark Williams <clark.williams@gmail.com>
This commit is contained in:
Clark Williams 2014-03-28 13:04:36 -05:00
parent bd4493d6ef
commit 9a345c1375
1 changed files with 2 additions and 4 deletions

View File

@ -1115,10 +1115,10 @@ static void parse_cpumask(const char *option, const int max_cpus)
if (!affinity_mask)
display_help(1);
// if (verbose) {
if (verbose) {
printf("%s: Using %u cpus.\n", __func__,
rt_numa_bitmask_count(affinity_mask));
// }
}
}
@ -1243,11 +1243,9 @@ static void process_options (int argc, char *argv[], int max_cpus)
if (smp || numa)
break;
if (optarg != NULL) {
printf("optarg != NULL!\n");
parse_cpumask(optarg, max_cpus);
setaffinity = AFFINITY_SPECIFIED;
} else if (optind<argc && atoi(argv[optind])) {
printf("optind < argc\n");
parse_cpumask(argv[optind], max_cpus);
setaffinity = AFFINITY_SPECIFIED;
} else {