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
a9dbbeb7
Commit
a9dbbeb7
authored
Apr 13, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (7554): videobuf-dma-sg: Remove unused flag
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
aaea56af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
drivers/media/video/videobuf-dma-sg.c
drivers/media/video/videobuf-dma-sg.c
+0
-4
include/media/videobuf-dma-sg.h
include/media/videobuf-dma-sg.h
+0
-3
No files found.
drivers/media/video/videobuf-dma-sg.c
View file @
a9dbbeb7
...
...
@@ -162,9 +162,6 @@ static int videobuf_dma_init_user_locked(struct videobuf_dmabuf *dma,
dprintk
(
1
,
"init user [0x%lx+0x%lx => %d pages]
\n
"
,
data
,
size
,
dma
->
nr_pages
);
dma
->
varea
=
(
void
*
)
data
;
err
=
get_user_pages
(
current
,
current
->
mm
,
data
&
PAGE_MASK
,
dma
->
nr_pages
,
rw
==
READ
,
1
,
/* force */
...
...
@@ -300,7 +297,6 @@ int videobuf_dma_free(struct videobuf_dmabuf *dma)
vfree
(
dma
->
vmalloc
);
dma
->
vmalloc
=
NULL
;
dma
->
varea
=
NULL
;
if
(
dma
->
bus_addr
)
{
dma
->
bus_addr
=
0
;
...
...
include/media/videobuf-dma-sg.h
View file @
a9dbbeb7
...
...
@@ -68,9 +68,6 @@ struct videobuf_dmabuf {
/* for kernel buffers */
void
*
vmalloc
;
/* Stores the userspace pointer to vmalloc area */
void
*
varea
;
/* for overlay buffers (pci-pci dma) */
dma_addr_t
bus_addr
;
...
...
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