diff --git a/loopy/kernel/creation.py b/loopy/kernel/creation.py
index 097a9b7497ce54ac2fd4dfa6bb3adf4cc984e2fa..b8100f3ab05fd0fd5579160bcd0fbf6e9bca18f0 100644
--- a/loopy/kernel/creation.py
+++ b/loopy/kernel/creation.py
@@ -1993,7 +1993,7 @@ def scope_functions(kernel):
         else:
             raise NotImplementedError("scope_functions not implemented for %s" %
                     type(insn))
-    
+
     # Need to combine the scoped functions into a dict
     scoped_function_dict = dict(scoped_functions)
     return kernel.copy(instructions=new_insns, scoped_functions=scoped_function_dict)