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
net/enic: fix dereference before null check
[dpdk.git]
/
drivers
/
net
/
enic
/
enic_res.h
diff --git
a/drivers/net/enic/enic_res.h
b/drivers/net/enic/enic_res.h
index
9700b0d
..
34f15d5
100644
(file)
--- a/
drivers/net/enic/enic_res.h
+++ b/
drivers/net/enic/enic_res.h
@@
-55,7
+55,6
@@
#define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0)
#define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0)
-
struct enic;
int enic_get_vnic_config(struct enic *);
struct enic;
int enic_get_vnic_config(struct enic *);