]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scripts/qapi.py
qapi: Drop useless gen_err_check()
[mirror_qemu.git] / scripts / qapi.py
index 27284be1443a82175f77f029742579ca2b77648e..9c48f6d80a8991c4a64dd0ef13a6e5117a2090e4 100644 (file)
@@ -1656,14 +1656,6 @@ def gen_params(arg_type, extra):
     return ret
 
 
-def gen_err_check():
-    return mcgen('''
-    if (err) {
-        goto out;
-    }
-''')
-
-
 #
 # Common command line parsing
 #