PM / hibernate: Deletion of an unnecessary check before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 16 Nov 2014 13:18:28 +0000 (14:18 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Nov 2014 01:49:40 +0000 (02:49 +0100)
commit6c45de0d51a3d93267ee100bff8c4632b1d49e8f
tree89f3a074dc540b19dd936e6880bed0ae93f04370
parentc68cfdc0a5879b4397dcfa837ba81a06039c2943
PM / hibernate: Deletion of an unnecessary check before the function call "vfree"

The vfree() function performs also input parameter validation. Thus the test
around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/swap.c