projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lttng lib: ring buffer remove duplicate null pointer
[lttng-modules.git]
/
lib
/
ringbuffer
/
ring_buffer_mmap.c
diff --git
a/lib/ringbuffer/ring_buffer_mmap.c
b/lib/ringbuffer/ring_buffer_mmap.c
index 68221ee9a87030563ed212ac3b32afde26572f92..cf374348d907334f81e3f2d9b67ef8bce44789d2 100644
(file)
--- a/
lib/ringbuffer/ring_buffer_mmap.c
+++ b/
lib/ringbuffer/ring_buffer_mmap.c
@@
-30,9
+30,6
@@
static int lib_ring_buffer_fault(struct vm_area_struct *vma, struct vm_fault *vm
void **virt;
unsigned long offset, sb_bindex;
- if (!buf)
- return VM_FAULT_OOM;
-
/*
* Verify that faults are only done on the range of pages owned by the
* reader.
This page took
0.02322 seconds
and
4
git commands to generate.