aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-fileops.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx18/cx18-fileops.c')
-rw-r--r--drivers/media/video/cx18/cx18-fileops.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/video/cx18/cx18-fileops.c b/drivers/media/video/cx18/cx18-fileops.c
index b1ad03f61019..d522d84906e1 100644
--- a/drivers/media/video/cx18/cx18-fileops.c
+++ b/drivers/media/video/cx18/cx18-fileops.c
@@ -392,18 +392,6 @@ static size_t cx18_copy_buf_to_user(struct cx18_stream *s,
392 return len; 392 return len;
393} 393}
394 394
395/**
396 * list_entry_is_past_end - check if a previous loop cursor is off list end
397 * @pos: the type * previously used as a loop cursor.
398 * @head: the head for your list.
399 * @member: the name of the list_struct within the struct.
400 *
401 * Check if the entry's list_head is the head of the list, thus it's not a
402 * real entry but was the loop cursor that walked past the end
403 */
404#define list_entry_is_past_end(pos, head, member) \
405 (&pos->member == (head))
406
407static size_t cx18_copy_mdl_to_user(struct cx18_stream *s, 395static size_t cx18_copy_mdl_to_user(struct cx18_stream *s,
408 struct cx18_mdl *mdl, char __user *ubuf, size_t ucount) 396 struct cx18_mdl *mdl, char __user *ubuf, size_t ucount)
409{ 397{