commit | 050d2a8b6992fd012773e75de9f82d45e3b3dfff | [log] [tgz] |
---|---|---|
author | Chen Zhou <chenzhou10@huawei.com> | Wed Jan 22 18:20:30 2020 +0800 |
committer | Steve French <stfrench@microsoft.com> | Sun Jan 26 19:24:17 2020 -0600 |
tree | 141056695d16acf788ba7c9ffc4f018b96a8975f | |
parent | 8bd0d701445ef263a52968ced2854c3d35712695 [diff] |
cifs: use PTR_ERR_OR_ZERO() to simplify code PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR, just use PTR_ERR_OR_ZERO directly. Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>