staging: hv: Convert vmbus driver interface function pointer table to constant
authorHaiyang Zhang <haiyangz@microsoft.com>
Wed, 8 Sep 2010 20:29:45 +0000 (20:29 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 14 Sep 2010 23:27:12 +0000 (16:27 -0700)
Convert vmbus driver interface function pointer table to constant
The vmbus interface functions are assigned to a constant - vmbus_ops.

Because the vmbus interface function pointer table is converted to a
constant variable -- vmbus_ops, the function GetChannelInterface(),
VmbusGetChannelInterface() and pointer GetChannelInterface are no longer
in use. The deprecated function's work is done by the initialization of
the newly added constant variable vmbus_ops.

I created the new constant variable vmbus_ops and removed the deprecated
function pointer GetChannelInterface in one patch.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found