From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750996AbVJQRKZ (ORCPT ); Mon, 17 Oct 2005 13:10:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751053AbVJQRKY (ORCPT ); Mon, 17 Oct 2005 13:10:24 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:20683 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S1751000AbVJQRJ5 (ORCPT ); Mon, 17 Oct 2005 13:09:57 -0400 Date: Mon, 17 Oct 2005 12:09:14 +0200 From: Pavel Machek To: Andrew Morton , kernel list Subject: [patch] swsusp: remove unneccessary includes Message-ID: <20051017100914.GA5405@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Cleanup comments and remove unneccessary includes. Signed-off-by: Pavel Machek diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c --- a/kernel/power/snapshot.c +++ b/kernel/power/snapshot.c @@ -1,8 +1,7 @@ /* - * linux/kernel/power/swsusp.c + * linux/kernel/power/snapshot.c * - * This file is to realize architecture-independent - * machine suspend feature using pretty near only high-level routines + * This file provide system snapshot/restore functionality. * * Copyright (C) 1998-2005 Pavel Machek * @@ -15,30 +14,16 @@ #include #include #include -#include -#include -#include #include -#include #include -#include -#include -#include #include -#include #include -#include -#include #include #include -#include -#include #include #include #include #include -#include -#include #include #include @@ -46,15 +31,9 @@ #include #include -#include -#include -#include - #include "power.h" - - #ifdef CONFIG_HIGHMEM struct highmem_page { char *data; diff --git a/kernel/power/swsusp.c b/kernel/power/swsusp.c --- a/kernel/power/swsusp.c +++ b/kernel/power/swsusp.c @@ -1,8 +1,7 @@ /* * linux/kernel/power/swsusp.c * - * This file is to realize architecture-independent - * machine suspend feature using pretty near only high-level routines + * This file provides code to write suspend image to swap and read it back. * * Copyright (C) 1998-2001 Gabor Kuti * Copyright (C) 1998,2001-2005 Pavel Machek @@ -47,11 +46,7 @@ #include #include #include -#include #include -#include -#include -#include #include #include #include @@ -63,10 +58,8 @@ #include #include #include -#include #include #include -#include #include #include -- Thanks, Sharp!