hash: hide structure from header and make it internal
[dpdk.git] / app / test / test_hash.c
index 4ecb11b..4300de9 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  *
- *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
  *   All rights reserved.
  *
  *   Redistribution and use in source and binary forms, with or without
@@ -1110,10 +1110,6 @@ test_hash_creation_with_good_parameters(void)
                printf("Creating hash with null hash_func failed\n");
                return -1;
        }
-       if (handle->hash_func == NULL) {
-               printf("Hash function should have been DEFAULT_HASH_FUNC\n");
-               return -1;
-       }
 
        /* this test is trying to create a hash with the same name as previous one.
         * this should return a pointer to the hash we previously created.