Skip to content
Commit 4ac934b1 authored by Li zeming's avatar Li zeming Committed by Rafael J. Wysocki
Browse files

PM: hibernate: Do not initialize error in snapshot_write_next()



The error variable in snapshot_write_next() gets a value before it is
used, so don't initialize it to 0 upfront.

Signed-off-by: default avatarLi zeming <zeming@nfschina.com>
[ rjw: Subject and changelog rewrite ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent bbeaa469
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment