PM: hibernate: Drop unnecessary local variable initialization
authorWang chaodong <chaodong@nfschina.com>
Fri, 20 Oct 2023 08:51:06 +0000 (16:51 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 11 Dec 2023 21:02:48 +0000 (22:02 +0100)
commita1ca8295ee53a2fc57085fae26df37228c655791
treee5d84cf512764b51bbfe48e436e8a67225dd830f
parenta39b6ac3781d46ba18193c9dbb2110f31e9bffe9
PM: hibernate: Drop unnecessary local variable initialization

It is not necessary to intialize the error variable in
create_basic_memory_bitmaps(), because it is only read after
being assigned a value.

Signed-off-by: Wang chaodong <chaodong@nfschina.com>
[ rjw: Subject and changelog rewrite ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/snapshot.c