[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].
Showing
Please register or sign in to comment