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
Kirill Smelkov
linux
Commits
8fbc02ac
Commit
8fbc02ac
authored
Dec 20, 2017
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s390: remove the unused dma_capable helper
Signed-off-by:
Christoph Hellwig
<
hch@lst.de
>
parent
b8ee205a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
arch/s390/include/asm/dma-mapping.h
arch/s390/include/asm/dma-mapping.h
+0
-7
No files found.
arch/s390/include/asm/dma-mapping.h
View file @
8fbc02ac
...
...
@@ -16,11 +16,4 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
return
&
dma_noop_ops
;
}
static
inline
bool
dma_capable
(
struct
device
*
dev
,
dma_addr_t
addr
,
size_t
size
)
{
if
(
!
dev
->
dma_mask
)
return
false
;
return
addr
+
size
-
1
<=
*
dev
->
dma_mask
;
}
#endif
/* _ASM_S390_DMA_MAPPING_H */
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