intel-iommu: Move duplicate list-mangling code into unlink_domain_info() helper
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 25 May 2012 16:43:02 +0000 (17:43 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 May 2012 22:50:29 +0000 (15:50 -0700)
commit109b9b0408e5f1dd327a44f446841a9fbe0bcd83
tree76b7b0278ef00b388e35183bb3aaff1f8ed82be4
parente2ad23d04c1304431ab5176c89b7b476ded2d995
intel-iommu: Move duplicate list-mangling code into unlink_domain_info() helper

Now we have four copies of this code, Linus "suggested" it was about time
we stopped copying it and turned it into a helper.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/iommu/intel-iommu.c