diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-10-18 20:48:52 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-22 12:16:36 +0200 |
commit | 4dd9eab39c71628d113168a01473ee17b5f61eac (patch) | |
tree | cb53c8afd4642052bba62cf0a52b4fdb01152101 /crypto/algapi.c | |
parent | c28237f1d4ed2c9022f9eed656ecf36999e34f47 (diff) | |
download | op-kernel-dev-4dd9eab39c71628d113168a01473ee17b5f61eac.zip op-kernel-dev-4dd9eab39c71628d113168a01473ee17b5f61eac.tar.gz |
powerpc/pseries: Cleanup error handling in iommu_pseries_alloc_group()
Although kfree(NULL) is legal, it's a bit lazy to rely on that to
implement the error handling. So do it the normal Linux way using
labels for each failure path.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
[mpe: Squash a few patches and rewrite change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions