remove barrier() in software_resume()
Subsystems (2)
PATCH 1/1 remove barrier() in software_resume()
Hello,
This patch removes the redundant compiler barrier. As Linus ever said "The mb() should make sure that gcc cannot move things around...".
--coywolf
Signed-off-by Coywolf Qi Hunt <[email protected]>
kernel/power/disk.c +0 -1
@@ -233,7 +233,6 @@ static int software_resume(void)if ((error =prepare ())) goto Free; -barrier ();mb ();pr_debug ("PM: Restoring saved image.\n" );
Signature · 2 lines
Coywolf Qi Hunt Homepage http://sosdg.org/~coywolf/