commit d1908d3118aa9dfd5926455787f5b3bf56422e16
parent a73ff32c13bb5340a80f7b11cd72dd3a4ff7b884
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 30 Mar 2016 11:22:56 +0200
Remove dead code
Diffstat:
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/src/sschiff_estimator.c b/src/sschiff_estimator.c
@@ -124,17 +124,6 @@ struct sschiff_estimator {
/*******************************************************************************
* Helper functions
******************************************************************************/
-static FINLINE uint16_t
-morton2D_decode(const uint32_t u32)
-{
- uint32_t x = u32 & 0x55555555;
- x = (x | (x >> 1)) & 0x33333333;
- x = (x | (x >> 2)) & 0x0F0F0F0F;
- x = (x | (x >> 4)) & 0x00FF00FF;
- x = (x | (x >> 8)) & 0x0000FFFF;
- return (uint16_t)x;
-}
-
static FINLINE int
cmp_double(const void* a, const void* b)
{
@@ -1535,7 +1524,7 @@ sschiff_integrate
}
if(res != RES_OK) goto error; /* Handle integration error */
- /* Merge the per thread integration ressults */
+ /* Merge the per thread integration results */
FOR_EACH(i, 0, dev->nthreads) {
size_t iwlen;
FOR_EACH(iwlen, 0, nwavelengths) {