X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_hash.c;fp=app%2Ftest%2Ftest_hash.c;h=4300de99cf0cd7a60f62f8c2407966feb653ee04;hb=9ef1501ea6d848831a6c4156e1a02dbc2007605f;hp=4ecb11bb0366834907910721bd601c4b6667db84;hpb=6759c5518007122b53ea34e80c80bb6cf377a7c5;p=dpdk.git diff --git a/app/test/test_hash.c b/app/test/test_hash.c index 4ecb11bb03..4300de99cf 100644 --- a/app/test/test_hash.c +++ b/app/test/test_hash.c @@ -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.