mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
staging/zcache: don't use PTR_RET().
We've already tested that it's an error. Cc: Dan Magenheimer <dan.magenheimer@oracle.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
60d676c007
commit
8a1d41cfea
1 changed files with 1 additions and 1 deletions
|
|
@ -1908,7 +1908,7 @@ static int zcache_init(void)
|
|||
#endif
|
||||
if (IS_ERR(old_ops) || old_ops) {
|
||||
if (IS_ERR(old_ops))
|
||||
return PTR_RET(old_ops);
|
||||
return PTR_ERR(old_ops);
|
||||
pr_warn("%s: frontswap_ops overridden\n", namestr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue