]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - net.c
net: Remove unused flowopt_add_bool().
[paraslash.git] / net.c
diff --git a/net.c b/net.c
index 4d52e4a4e98bd53b3099f7cf8535372a4a270cff..c18e7a0a19cfa1ff741fee6b8f3e0232a4813b7d 100644 (file)
--- a/net.c
+++ b/net.c
@@ -305,14 +305,6 @@ void flowopt_add(struct flowopts *fo, int lev, int opt,
        list_add_tail(&new->node, &fo->sockopts);
 }
 
-void flowopt_add_bool(struct flowopts *fo, int lev, int opt,
-               const char *optname, bool on_or_off)
-{
-       int on = on_or_off;     /* kernel takes 'int' */
-
-       flowopt_add(fo, lev, opt, optname, &on, sizeof(on));
-}
-
 /** Set the entire bunch of pre-connection options at once. */
 static void flowopt_setopts(int sockfd, struct flowopts *fo)
 {