diff options
author | Barry Song <Baohua.Song@csr.com> | 2011-10-11 23:29:18 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-10-16 23:30:38 +0200 |
commit | d231ff1af70a2df43d809173cf8c94e9c3beb853 (patch) | |
tree | fa6efbb106f36738032bd035e10f54936d3b683d /kernel/power | |
parent | 27920651fe0d16a25632dc238e81b54f3a504869 (diff) | |
download | linux-d231ff1af70a2df43d809173cf8c94e9c3beb853.tar.gz linux-d231ff1af70a2df43d809173cf8c94e9c3beb853.tar.bz2 linux-d231ff1af70a2df43d809173cf8c94e9c3beb853.zip |
PM / Hibernate: Do not initialize static and extern variables to 0
Static and extern variables in kernel/power/hibernate.c need not be
initialized to 0 explicitly, so remove those initializations.
[rjw: Modified subject, added changelog.]
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/hibernate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index 50f537953e70..ea12c8f1bdfd 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -30,14 +30,14 @@ #include "power.h" -static int nocompress = 0; -static int noresume = 0; -static int resume_wait = 0; -static int resume_delay = 0; +static int nocompress; +static int noresume; +static int resume_wait; +static int resume_delay; static char resume_file[256] = CONFIG_PM_STD_PARTITION; dev_t swsusp_resume_device; sector_t swsusp_resume_block; -int in_suspend __nosavedata = 0; +int in_suspend __nosavedata; enum { HIBERNATION_INVALID, |