diff --git a/misc/syntax-check.py b/misc/syntax-check.py
index ac9c802a0ef9fb3c26704f9ae56b4eb08fd4c979..0695cce9bb566d39403c75c13f43a813bd116050 100755
--- a/misc/syntax-check.py
+++ b/misc/syntax-check.py
@@ -2,7 +2,7 @@
 # -*- coding: utf-8 -*-
 
 """
-Exit nonzero if any .json or .yaml file in the source tree is
+Exit nonzero if any .yaml file in the source tree is
 syntactically invalid. This is run by `make check`.
 """
 
@@ -14,13 +14,10 @@ syntactically invalid. This is run by `make check`.
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 import os
-import json
 
 import yaml
 
 for (dirpath, dirnames, filenames) in os.walk('.'):
     for basename in filenames:
-        if basename.endswith('.json'):
-            json.load(open(os.path.join(dirpath, basename)))
-        elif basename.endswith('.yaml'):
+        if basename.endswith('.yaml'):
             yaml.safe_load(open(os.path.join(dirpath, basename)))