Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0db9b7ae
Commit
0db9b7ae
authored
Jul 14, 2009
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intel-iommu: Kill pointless intel_unmap_single() function
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
acea0018
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
drivers/pci/intel-iommu.c
drivers/pci/intel-iommu.c
+1
-7
No files found.
drivers/pci/intel-iommu.c
View file @
0db9b7ae
...
...
@@ -2741,12 +2741,6 @@ static void intel_unmap_page(struct device *dev, dma_addr_t dev_addr,
}
}
static
void
intel_unmap_single
(
struct
device
*
dev
,
dma_addr_t
dev_addr
,
size_t
size
,
int
dir
)
{
intel_unmap_page
(
dev
,
dev_addr
,
size
,
dir
,
NULL
);
}
static
void
*
intel_alloc_coherent
(
struct
device
*
hwdev
,
size_t
size
,
dma_addr_t
*
dma_handle
,
gfp_t
flags
)
{
...
...
@@ -2779,7 +2773,7 @@ static void intel_free_coherent(struct device *hwdev, size_t size, void *vaddr,
size
=
PAGE_ALIGN
(
size
);
order
=
get_order
(
size
);
intel_unmap_
single
(
hwdev
,
dma_handle
,
size
,
DMA_BIDIRECTIONA
L
);
intel_unmap_
page
(
hwdev
,
dma_handle
,
size
,
DMA_BIDIRECTIONAL
,
NUL
L
);
free_pages
((
unsigned
long
)
vaddr
,
order
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment