diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-06-03 17:09:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-31 13:05:40 +0200 |
commit | 4d63763296ab7865a98bc29cc7d77145815ef89f (patch) | |
tree | 677d1fb88a994e9b29198f038f5735e13bc82249 /firmware | |
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions