projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5a8fd
)
dpif-linux: Remove extraneous name variable.
author
Ethan Jackson
<ethan@nicira.com>
Sat, 29 Jan 2011 03:31:07 +0000
(19:31 -0800)
committer
Ethan Jackson
<ethan@nicira.com>
Sat, 29 Jan 2011 21:57:08 +0000
(13:57 -0800)
Fixes a "used uninitialized" warning.
lib/dpif-linux.c
patch
|
blob
|
history
diff --git
a/lib/dpif-linux.c
b/lib/dpif-linux.c
index f08a2589320ded113010b36889a09194074ccf69..cef914e996a69c95af19b24d0f513b92ae32eeb9 100644
(file)
--- a/
lib/dpif-linux.c
+++ b/
lib/dpif-linux.c
@@
-209,7
+209,6
@@
static int
open_dpif(const struct dpif_linux_dp *dp, struct dpif **dpifp)
{
struct dpif_linux *dpif;
- char *name;
int error;
int i;
@@
-222,7
+221,6
@@
open_dpif(const struct dpif_linux_dp *dp, struct dpif **dpifp)
dpif_init(&dpif->dpif, &dpif_linux_class, dp->name,
dp->dp_ifindex, dp->dp_ifindex);
- free(name);
dpif->mc_sock = NULL;
for (i = 0; i < DPIF_N_UC_TYPES; i++) {