mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Remove some unnecessary code from the vTPM hotplug scripts.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
1 parent
0773e2a340
commit
a6ac8cd281
1 file changed
-6
@@ -261,12 +261,6 @@ function vtpm_create_instance () {
|
||||
|
||||
if [ "$REASON" == "create" ]; then
|
||||
vtpm_reset $instance
|
||||
elif [ "$REASON" == "resume" ]; then
|
||||
vtpm_setup $instance
|
||||
else
|
||||
#default case for 'now'
|
||||
#vtpm_reset $instance
|
||||
true
|
||||
fi
|
||||
xenstore_write $XENBUS_PATH/instance $instance
|
||||
}
|
||||
|
||||