]> xenbits.xensource.com Git - xenclient/toolstack.git/commitdiff
[connection_table] remove unneeded utilities.
authorPrashanth Mundkur <prashanth.mundkur@citrix.com>
Tue, 30 Jun 2009 21:39:05 +0000 (14:39 -0700)
committerPrashanth Mundkur <prashanth.mundkur@citrix.com>
Tue, 30 Jun 2009 21:39:05 +0000 (14:39 -0700)
common/connection_table.ml

index 53d185c422faa897f96636e51b3e6978fd8dec7d..cce6d5883368ff23b14d1f0efb3f9ed2ef357120 100644 (file)
@@ -40,12 +40,4 @@ struct
 
        let remove_conn h =
                conns := ConnectionMap.remove h !conns
-
-       let cleanup el h =
-               Eventloop.remove_conn el h;
-               remove_conn h
-
-       let cleanup_and_close el h fd =
-               cleanup el h;
-               (try Unix.close fd with _ -> ())
 end