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
a70973c2
Commit
a70973c2
authored
Oct 03, 2008
by
Alexey Dobriyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proc: remove unused get_dma_list()
Signed-off-by:
Alexey Dobriyan
<
adobriyan@gmail.com
>
parent
a04f4de6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
19 deletions
+0
-19
arch/arm/kernel/dma.c
arch/arm/kernel/dma.c
+0
-17
arch/sparc/include/asm/dma_32.h
arch/sparc/include/asm/dma_32.h
+0
-1
fs/proc/proc_misc.c
fs/proc/proc_misc.c
+0
-1
No files found.
arch/arm/kernel/dma.c
View file @
a70973c2
...
...
@@ -25,23 +25,6 @@ EXPORT_SYMBOL(dma_spin_lock);
static
dma_t
dma_chan
[
MAX_DMA_CHANNELS
];
/*
* Get dma list for /proc/dma
*/
int
get_dma_list
(
char
*
buf
)
{
dma_t
*
dma
;
char
*
p
=
buf
;
int
i
;
for
(
i
=
0
,
dma
=
dma_chan
;
i
<
MAX_DMA_CHANNELS
;
i
++
,
dma
++
)
if
(
dma
->
lock
)
p
+=
sprintf
(
p
,
"%2d: %14s %s
\n
"
,
i
,
dma
->
d_ops
->
type
,
dma
->
device_id
);
return
p
-
buf
;
}
/*
* Request DMA channel
*
...
...
arch/sparc/include/asm/dma_32.h
View file @
a70973c2
...
...
@@ -231,7 +231,6 @@ static inline void sparc_dma_pause(struct sparc_dma_registers *regs,
#define for_each_dvma(dma) \
for((dma) = dma_chain; (dma); (dma) = (dma)->next)
extern
int
get_dma_list
(
char
*
);
extern
int
request_dma
(
unsigned
int
,
__const__
char
*
);
extern
void
free_dma
(
unsigned
int
);
...
...
fs/proc/proc_misc.c
View file @
a70973c2
...
...
@@ -68,7 +68,6 @@
extern
int
get_hardware_list
(
char
*
);
extern
int
get_stram_list
(
char
*
);
extern
int
get_exec_domain_list
(
char
*
);
extern
int
get_dma_list
(
char
*
);
static
int
proc_calc_metrics
(
char
*
page
,
char
**
start
,
off_t
off
,
int
count
,
int
*
eof
,
int
len
)
...
...
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