summaryrefslogtreecommitdiff
path: root/drivers/xen/pci.c
diff options
context:
space:
mode:
authorJie Liu <jeff.liu@oracle.com>2013-11-13 20:59:58 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-01-06 10:07:29 -0500
commit9346c2a8defab777d1fba6bcc284f6ada181fe96 (patch)
tree4597a6c868c0e106dc19058df0efaaea1a6b2eb0 /drivers/xen/pci.c
parent02bcf053e9c5dfbb541b8e27a8eeb962a54d577b (diff)
downloadlwn-9346c2a8defab777d1fba6bcc284f6ada181fe96.tar.gz
lwn-9346c2a8defab777d1fba6bcc284f6ada181fe96.zip
xen: simplify balloon_first_page() with list_first_entry_or_null()
Replace the code logic at balloon_first_page() by calling list_first_entry_or_null() directly. since here is only one user of that routine, therefore we can just remove it. Signed-off-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/pci.c')
0 files changed, 0 insertions, 0 deletions