diff --git a/bin/htmlhint b/bin/htmlhint
index 8e1bb3787..86ba88900 100755
--- a/bin/htmlhint
+++ b/bin/htmlhint
@@ -184,13 +184,3 @@ function repeatStr(n, str){
function logJson(filepath, messages, jsonOutput){
jsonOutput.push({'file': filepath, 'messages': messages});
}
-
-function quit(code){
- if ((!process.stdout.flush || !process.stdout.flush()) && (parseFloat(process.versions.node) < 0.5)) {
- process.once("drain", function () {
- process.exit(code || 0);
- });
- } else {
- process.exit(code || 0);
- }
-}