summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-09-13 15:46:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-09-13 15:46:41 +0000
commitdf26034b4deb62777d841e04eabe4f8af2c1f41a (patch)
tree6cd0a397e6892ecde2dc4c1b86dd953fee7e7fdc
parent7d7658ad2fcd296440916cd26cd8182a8dc0a7c3 (diff)
Rely on bridge module autoloading
-rw-r--r--network/bridge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/bridge.c b/network/bridge.c
index cf77d6ab..8ef06190 100644
--- a/network/bridge.c
+++ b/network/bridge.c
@@ -41,10 +41,12 @@ static int bridge_socket = -1;
int bridge_init(void)
{
+#if 0
struct stat st;
if (stat("/sys/module/bridge", &st) < 0)
return -EOPNOTSUPP;
+#endif
bridge_socket = socket(AF_INET, SOCK_STREAM, 0);
if (bridge_socket < 0)