From 15785a9bfea534f8f7650233f63f3861a8019a25 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 11 Jan 2024 09:57:47 +0100 Subject: [PATCH] nak/algebraic: merge run and main function Part-of: --- src/nouveau/compiler/nak_nir_algebraic.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/nouveau/compiler/nak_nir_algebraic.py b/src/nouveau/compiler/nak_nir_algebraic.py index b191a41f703..9e728d2a0da 100644 --- a/src/nouveau/compiler/nak_nir_algebraic.py +++ b/src/nouveau/compiler/nak_nir_algebraic.py @@ -43,10 +43,7 @@ def main(): parser.add_argument('-p', '--import-path', required=True) args = parser.parse_args() sys.path.insert(0, args.import_path) - run() - -def run(): import nir_algebraic # pylint: disable=import-error print('#include "nak_private.h"')