From 962cada830e9b0ce7049a59bef4c33ab01c6161e Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 27 Jan 2011 20:35:48 +0000 Subject: [init] Remove concept of "shutdown exit flags" Remove the concept of shutdown exit flags, and replace it with a counter used to keep track of exposed interfaces that require devices to remain active. Signed-off-by: Michael Brown --- src/drivers/net/efi/snponly.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/net/efi/snponly.c b/src/drivers/net/efi/snponly.c index 435ed4fb5..6fcc54a01 100644 --- a/src/drivers/net/efi/snponly.c +++ b/src/drivers/net/efi/snponly.c @@ -114,13 +114,13 @@ struct root_device snp_root_device __root_device = { /** * Prepare for exit * - * @v flags Shutdown flags + * @v booting System is shutting down for OS boot */ -static void snponly_shutdown ( int flags ) { +static void snponly_shutdown ( int booting ) { /* If we are shutting down to boot an OS, make sure the SNP does not * stay active. */ - if ( flags & SHUTDOWN_BOOT ) + if ( booting ) snponly_dev.removal_state = EfiSimpleNetworkStopped; } -- cgit v1.2.3-55-g7522