Skip to content
Commit 5416da01 authored by Falla Coulibaly's avatar Falla Coulibaly Committed by Rafael J. Wysocki
Browse files

PM: hibernate: Remove blk_status_to_errno in hib_wait_io



blk_status_to_errno doesn't appear to perform extra work besides
converting blk_status_t to integer. This patch removes that unnecessary
conversion as the return type of the function is blk_status_t.

Signed-off-by: default avatarFalla Coulibaly <fallacoulibalyz@gmail.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent bfcc1e67
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment