diff --git a/pystencils/kerncraft_coupling/generate_benchmark.py b/pystencils/kerncraft_coupling/generate_benchmark.py
index a6ae2fd5d7d91668facf5eecdbdebdf6b5457498..6e69ef6bc42e775fc3dda60154061fc465fbc83f 100644
--- a/pystencils/kerncraft_coupling/generate_benchmark.py
+++ b/pystencils/kerncraft_coupling/generate_benchmark.py
@@ -8,7 +8,7 @@ from jinja2 import Environment, PackageLoader, StrictUndefined
 from pystencils.astnodes import PragmaBlock
 from pystencils.backends.cbackend import generate_c, get_headers
 from pystencils.cpu.cpujit import get_compiler_config, run_compile_step
-from pystencils.data_types import get_base_type, to_ctypes
+from pystencils.data_types import get_base_type
 from pystencils.include import get_pystencils_include_path
 from pystencils.integer_functions import modulo_ceil
 from pystencils.sympyextensions import prod