summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/char/tpm/xen-tpmfront.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/char/tpm/xen-tpmfront.c')
-rw-r--r--kernel/drivers/char/tpm/xen-tpmfront.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/drivers/char/tpm/xen-tpmfront.c b/kernel/drivers/char/tpm/xen-tpmfront.c
index 3111f2778..849f2e29c 100644
--- a/kernel/drivers/char/tpm/xen-tpmfront.c
+++ b/kernel/drivers/char/tpm/xen-tpmfront.c
@@ -305,7 +305,6 @@ static int tpmfront_probe(struct xenbus_device *dev,
rv = setup_ring(dev, priv);
if (rv) {
chip = dev_get_drvdata(&dev->dev);
- tpm_chip_unregister(chip);
ring_free(priv);
return rv;
}