Drivers: hv: Get rid of an unnecessary check in vmbus_prep_negotiate_resp()
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 12 May 2012 20:44:57 +0000 (13:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 15:59:31 +0000 (08:59 -0700)
commita360530012766e5fd752bd6538c8cc6349846781
treeac8f35476b06598fa313c71342b2a2a1e3c7a1d6
parent90394482b807cb0a474fb387ed020603df14cfd0
Drivers: hv: Get rid of an unnecessary check in vmbus_prep_negotiate_resp()

The vmbus_prep_negotiate_resp() is only invoked when we are negotiating
the version; so the current check in vmbus_prep_negotiate_resp()
is unnecessary. Get rid of it.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c