Commit 2f88e41a authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

PM / hibernate: Add missing braces in hibernate_setup()

Make hibernate_setup() follow the coding style more closely by adding
some missing braces to the if () statement in it.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 63f9ccb8
...@@ -1119,11 +1119,11 @@ static int __init resume_offset_setup(char *str) ...@@ -1119,11 +1119,11 @@ static int __init resume_offset_setup(char *str)
static int __init hibernate_setup(char *str) static int __init hibernate_setup(char *str)
{ {
if (!strncmp(str, "noresume", 8)) if (!strncmp(str, "noresume", 8)) {
noresume = 1; noresume = 1;
else if (!strncmp(str, "nocompress", 10)) } else if (!strncmp(str, "nocompress", 10)) {
nocompress = 1; nocompress = 1;
else if (!strncmp(str, "no", 2)) { } else if (!strncmp(str, "no", 2)) {
noresume = 1; noresume = 1;
nohibernate = 1; nohibernate = 1;
} }
......
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