• Andrew Morton's avatar
    [PATCH] Trivial cleanups for swsusp · 9db89cf7
    Andrew Morton authored
    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].
    9db89cf7
swsusp.c 29.8 KB