diff options
author | John W. Linville <linville@tuxdriver.com> | 2005-09-29 14:43:32 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-09-29 14:43:32 -0700 |
commit | 8270f3f1a605c83b3aa516c1eaed209fe0884e84 (patch) | |
tree | dbe49f6263658cd9b7ace81fed257009140c0b9e /drivers | |
parent | 6c654b5fdf093cd05f35f7c9c2a00182fa5636dc (diff) |
[PATCH] swiotlb: cleanup some code duplication cruft
The implementations of swiotlb_sync_single_for_{cpu,device} are
identical. Likewise for swiotlb_syng_sg_for_{cpu,device}. This patch
move the guts of those functions to two new inline functions, and
calls the appropriate one from the bodies of those functions.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions