From b256900d4f6fe187cb93ed91bbf12c723e6b9364 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 9 Jun 2007 19:00:34 +0100 Subject: Scripts temporarily deregister themselves while executing. This allows us to avoid execution loops without having to hack around the image registration order. --- src/core/image.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/core') diff --git a/src/core/image.c b/src/core/image.c index e270540aa..08a129ffa 100644 --- a/src/core/image.c +++ b/src/core/image.c @@ -106,20 +106,6 @@ void unregister_image ( struct image *image ) { DBGC ( image, "IMAGE %p unregistered\n", image ); } -/** - * Move image to start of list of registered images - * - * @v image Executable/loadable image - * - * Move the image to the start of the image list. This makes it - * easier to keep track of which of the images marked as loaded is - * likely to still be valid. - */ -void promote_image ( struct image *image ) { - list_del ( &image->list ); - list_add ( &image->list, &images ); -} - /** * Find image by name * -- cgit v1.2.3-55-g7522