[hipl-commit] [trunk] Rev 4175: Remove pointless CONFIG_HIP_PERFORMANCE #ifdef.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 8 Apr 2010 14:21:31 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 08/04/2010 at 14:21:31
Revision: 4175
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove pointless CONFIG_HIP_PERFORMANCE #ifdef.
  
  The file is only ever compiled if that condition is true.

Modified:
  M  test/dh_performance.c

=== modified file 'test/dh_performance.c'
--- test/dh_performance.c       2010-03-09 18:26:22 +0000
+++ test/dh_performance.c       2010-04-08 11:17:55 +0000
@@ -804,9 +804,7 @@
     printf("%4.2f hashes per sec, %4.2f hashes per min\n",
            sw_bench_loops / bench_secs * 1000, sw_hashloops / bench_secs * 60 
* 1000);
 
-#ifdef CONFIG_HIP_PERFORMANCE
     /* Deallocate memory of perf_set after finishing all of tests */
     hip_perf_destroy(perf_set);
-#endif
     return err;
 }

Other related posts:

  • » [hipl-commit] [trunk] Rev 4175: Remove pointless CONFIG_HIP_PERFORMANCE #ifdef. - Diego Biurrun