]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/cmdline.c
examples/ip_pipeline: fix build with clang 3.6
[dpdk.git] / examples / ip_pipeline / cmdline.c
index 152acb524da48db6227927da5250fc084e9a49d7..3173fd0f47ef442f6e97dbc3a457c45c8059a61a 100644 (file)
@@ -268,12 +268,6 @@ cmd_run_file_parsed(
        struct cmdline *file_cl;
        int fd;
 
-       /* Check params */
-       if (!params->file_path) {
-               printf("Illegal value for file path (%s)\n", params->file_path);
-               return;
-       }
-
        fd = open(params->file_path, O_RDONLY, 0);
        if (fd < 0) {
                printf("Illegal value for file path (%s)\n", params->file_path);