Skip to content
Commit 71b9ec2c authored by Dmytro Firsov's avatar Dmytro Firsov Committed by Benjamin Cabé
Browse files

drivers: xen: gnttab: remove redundant GNTTABOP_setup_table call



Initially this driver was a port from mini-os. Michal Orzel
(@orzelmichal) pointed that it contains incorrect grant table
initialization sequence and redundant calls. Driver mapped grant table
frames via loop of XENMEM_add_to_physmap calls and then tried to do the
same but via GNTTABOP_setup_table operation. After completion of latter
it did not even use provided frames list. This did not cause any major
issues, since XENMEM_add_to_physmap correctly map gnttab frames that
were used.

Remove redundant GNTTABOP_setup_table call from grant table driver to
clean up its initialization sequence.

Signed-off-by: default avatarDmytro Firsov <dmytro_firsov@epam.com>
parent cd31a413
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment