summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/virqfd.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2015-03-16 14:08:56 -0600
committerAlex Williamson <alex.williamson@redhat.com>2015-03-16 14:08:56 -0600
commit2f51bf4be99386f49841b6365a85a5cabc148565 (patch)
tree2c3c9d7c36d2a3b14b577b4f0a09b0df34d11a6b /drivers/vfio/virqfd.c
parenta7fa7c77cf15fb22d0f33fcc88770de0246c5588 (diff)
downloadop-kernel-dev-2f51bf4be99386f49841b6365a85a5cabc148565.zip
op-kernel-dev-2f51bf4be99386f49841b6365a85a5cabc148565.tar.gz
vfio: put off the allocation of "minor" in vfio_create_group
The next code fragment "list_for_each_entry" is not depend on "minor". With this patch, the free of "minor" in "list_for_each_entry" can be reduced, and there is no functional change. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/virqfd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud