diff options
author | Cédric Le Goater | 2019-05-09 14:33:44 +0200 |
---|---|---|
committer | Paul Mackerras | 2019-05-14 12:06:03 +1000 |
commit | 4894fbcce856635c9ab79f44e50826e86bb92110 (patch) | |
tree | 30635bbe00a4dd179dd60c63075c8c5bacd25f8e /certs | |
parent | 3f8cb76c80073912173406a3dd7670194c1a4003 (diff) |
KVM: PPC: Book3S: Remove useless checks in 'release' method of KVM device
There is no need to test for the device pointer validity when releasing
a KVM device. The file descriptor should identify it safely.
Fixes: 2bde9b3ec8bd ("KVM: Introduce a 'release' method for KVM devices")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions