projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4817
)
PCI: hv: Use list_move_tail() instead of list_del() + list_add_tail()
author
Wei Yongjun
<weiyj.lk@gmail.com>
Thu, 28 Jul 2016 16:16:48 +0000
(16:16 +0000)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 22 Aug 2016 19:35:38 +0000
(14:35 -0500)
Use list_move_tail() instead of list_del() + list_add_tail(). No
functional change intended
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-hyperv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pci-hyperv.c
b/drivers/pci/host/pci-hyperv.c
index 6955ffdb89f33332f89595407b82cd0f8e6af779..a8deeca984cf1b4ef897406d149d5821fcc37b7c 100644
(file)
--- a/
drivers/pci/host/pci-hyperv.c
+++ b/
drivers/pci/host/pci-hyperv.c
@@
-1466,8
+1466,7
@@
static void pci_devices_present_work(struct work_struct *work)
if (hpdev->reported_missing) {
found = true;
put_pcichild(hpdev, hv_pcidev_ref_childlist);
- list_del(&hpdev->list_entry);
- list_add_tail(&hpdev->list_entry, &removed);
+ list_move_tail(&hpdev->list_entry, &removed);
break;
}
}