]> git.neil.brown.name Git - history.git/commit
[PATCH] Trivial cleanups for swsusp
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:41:31 +0000 (18:41 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:41:31 +0000 (18:41 -0800)
commit9db89cf785e61599a142c6db2f12cda75f35eb9d
tree2c62c9e9d8a2dce7160262c2cbd8b60b1d3b3128
parente7c215c1ed718234a9f68aab8d0900d97733fcca
[PATCH] Trivial cleanups for swsusp

From: Pavel Machek <pavel@ucw.cz>

This kills unused part of struct and fixes spelling.

It also fixes codingstyle a bit, converts "can not happen" panic into BUG_ON
(fill_suspend_header() allocates no memory so panic is meaningless) and adds
check for sizeof (struct link) [if that is not PAGE_SIZE, we have *bad*
problem, better check early].
include/linux/suspend.h
kernel/power/swsusp.c