diff options
| author | Stanislaw Gruszka <[email protected]> | 2011-02-12 20:06:51 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2011-02-16 20:53:52 +0000 |
| commit | 2e725a065b0153f0c449318da1923a120477633d (patch) | |
| tree | df20fb290a597d076db86b78cc1931838aba3d0b /net/unix/af_unix.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 (diff) | |
| download | kernel-2e725a065b0153f0c449318da1923a120477633d.tar.gz kernel-2e725a065b0153f0c449318da1923a120477633d.zip | |
PM / Hibernate: Return error code when alloc_image_page() fails
Currently we return 0 in swsusp_alloc() when alloc_image_page() fails.
Fix that. Also remove unneeded "error" variable since the only
useful value of error is -ENOMEM.
[rjw: Fixed up the changelog and changed subject.]
Signed-off-by: Stanislaw Gruszka <[email protected]>
Cc: [email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
