commit | 4d63763296ab7865a98bc29cc7d77145815ef89f | [log] [tgz] |
---|---|---|
author | Vitaly Kuznetsov <vkuznets@redhat.com> | Fri Jun 03 17:09:23 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 31 13:05:40 2016 +0200 |
tree | 677d1fb88a994e9b29198f038f5735e13bc82249 | |
parent | a9f61ca793becabdefab03b77568d6c6f8c1bc79 [diff] |
Drivers: hv: get rid of redundant messagecount in create_gpadl_header() We use messagecount only once in vmbus_establish_gpadl() to check if it is safe to iterate through the submsglist. We can just initialize the list header in all cases in create_gpadl_header() instead. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>