aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorCédric Le Goater <[email protected]>2019-05-09 12:33:44 +0000
committerPaul Mackerras <[email protected]>2019-05-14 02:06:03 +0000
commit4894fbcce856635c9ab79f44e50826e86bb92110 (patch)
tree30635bbe00a4dd179dd60c63075c8c5bacd25f8e /lib/fault-inject.c
parentKVM: PPC: Book3S HV: XIVE: Fix spelling mistake "acessing" -> "accessing" (diff)
downloadkernel-4894fbcce856635c9ab79f44e50826e86bb92110.tar.gz
kernel-4894fbcce856635c9ab79f44e50826e86bb92110.zip
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 <[email protected]> Reviewed-by: Alexey Kardashevskiy <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions