git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples/ip_pipeline: fix build with clang 3.6
[dpdk.git]
/
examples
/
ip_pipeline
/
cmdline.c
diff --git
a/examples/ip_pipeline/cmdline.c
b/examples/ip_pipeline/cmdline.c
index
152acb5
..
3173fd0
100644
(file)
--- a/
examples/ip_pipeline/cmdline.c
+++ b/
examples/ip_pipeline/cmdline.c
@@
-268,12
+268,6
@@
cmd_run_file_parsed(
struct cmdline *file_cl;
int fd;
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);
fd = open(params->file_path, O_RDONLY, 0);
if (fd < 0) {
printf("Illegal value for file path (%s)\n", params->file_path);