Commit d231ff1a authored by Barry Song's avatar Barry Song Committed by Rafael J. Wysocki

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: default avatarBarry Song <Baohua.Song@csr.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 27920651
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment