mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
tpm xen: drop unneeded chip variable
The call that used chip was dropped in 1f0f30e404
. Drop the
leftover declaration and initialization.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
This commit is contained in:
parent
39f5712b8f
commit
5cec5bacd3
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue