]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio-net: remove useless disable on freeze
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Apr 2012 09:14:34 +0000 (12:14 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Apr 2012 18:34:04 +0000 (21:34 +0300)
commit66fdfb7bc203331bdc443b5917f94b69736000b7
tree5040e0bace277ac3c08f857d59ab4a261c05fe54
parentf987ff374585f99a01a8d96032351f2e5500e146
virtio-net: remove useless disable on freeze

disable_cb is just an optimization: it
can not guarantee that there are no callbacks.

I didn't yet figure out whether a callback
in freeze will trigger a bug, but disable_cb
won't address it in any case. So let's remove
the useless calls as a first step.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/net/virtio_net.c