Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cec5bac authored by Julia Lawall's avatar Julia Lawall Committed by Jarkko Sakkinen
Browse files

tpm xen: drop unneeded chip variable



The call that used chip was dropped in 1f0f30e4.  Drop the
leftover declaration and initialization.

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
parent 39f5712b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -289,7 +289,6 @@ static int tpmfront_probe(struct xenbus_device *dev,
		const struct xenbus_device_id *id)
{
	struct tpm_private *priv;
	struct tpm_chip *chip;
	int rv;

	priv = kzalloc(sizeof(*priv), GFP_KERNEL);
@@ -306,7 +305,6 @@ static int tpmfront_probe(struct xenbus_device *dev,

	rv = setup_ring(dev, priv);
	if (rv) {
		chip = dev_get_drvdata(&dev->dev);
		ring_free(priv);
		return rv;
	}