From 4c2a70279d3f9cd387a68e2af5bef3a4ea2cf99e Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 8 Sep 2010 21:18:16 +0000 Subject: No need for vfs_syncwait() in a bufq_quiesce() world ok thib kettenis --- sys/arch/i386/i386/apm.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c index f47b1f8789b..e34b223a086 100644 --- a/sys/arch/i386/i386/apm.c +++ b/sys/arch/i386/i386/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.91 2010/09/06 15:42:18 deraadt Exp $ */ +/* $OpenBSD: apm.c,v 1.92 2010/09/08 21:18:15 deraadt Exp $ */ /*- * Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved. @@ -50,7 +50,6 @@ #include #include #include -#include /* for vfs_syncwait() proto */ #include #include @@ -332,9 +331,6 @@ apm_suspend() disable_intr(); config_suspend(TAILQ_FIRST(&alldevs), DVACT_SUSPEND); - if (cold) - vfs_syncwait(0); - (void)apm_set_powstate(APM_DEV_ALLDEVS, APM_SYS_SUSPEND); } @@ -351,9 +347,6 @@ apm_standby() disable_intr(); config_suspend(TAILQ_FIRST(&alldevs), DVACT_SUSPEND); - if (cold) - vfs_syncwait(0); - (void)apm_set_powstate(APM_DEV_ALLDEVS, APM_SYS_STANDBY); } -- cgit v1.2.3