From: Jesse Gross Date: Tue, 4 Aug 2009 00:04:43 +0000 (-0700) Subject: netdev: Add classes which don't require initialization. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a6d2aa6732dbf15686149a7cccf6ae71e3749c9;p=openvswitch netdev: Add classes which don't require initialization. If a class requires does not require initialization, still add it to the list of netdev classes. --- diff --git a/lib/netdev.c b/lib/netdev.c index 5724f495..481671f7 100644 --- a/lib/netdev.c +++ b/lib/netdev.c @@ -83,6 +83,8 @@ netdev_initialize(void) status = retval; } } + } else { + netdev_classes[j++] = class; } } n_netdev_classes = j;