commit | 4894fbcce856635c9ab79f44e50826e86bb92110 | [log] [tgz] |
---|---|---|
author | Cédric Le Goater <clg@kaod.org> | Thu May 09 14:33:44 2019 +0200 |
committer | Paul Mackerras <paulus@ozlabs.org> | Tue May 14 12:06:03 2019 +1000 |
tree | 30635bbe00a4dd179dd60c63075c8c5bacd25f8e | |
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>