diff options
author | Eric Farman <farman@linux.ibm.com> | 2019-06-06 22:28:29 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-06-17 13:30:46 +0200 |
commit | e7eaf91b0aad276b164277dd6d20cdf3ee1c77e6 (patch) | |
tree | d41906a41d15ba6e0964d4f4f23d3e472492400f /drivers/hwmon | |
parent | 8aabf0edae4a6cc82042785079075aebf7cd5c79 (diff) |
vfio-ccw: Remove pfn_array_table
Now that both CCW codepaths build this nested array:
ccwchain->pfn_array_table[1]->pfn_array[#idaws/#pages]
We can collapse this into simply:
ccwchain->pfn_array[#idaws/#pages]
Let's do that, so that we don't have to continually navigate two
nested arrays when the first array always has a count of one.
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190606202831.44135-8-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions