git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lockdep: map_acquire
[pandora-kernel.git]
/
drivers
/
lguest
/
lguest_user.c
diff --git
a/drivers/lguest/lguest_user.c
b/drivers/lguest/lguest_user.c
index
4017701
..
e73a000
100644
(file)
--- a/
drivers/lguest/lguest_user.c
+++ b/
drivers/lguest/lguest_user.c
@@
-251,8
+251,6
@@
static ssize_t write(struct file *file, const char __user *in,
if (!lg || (cpu_id >= lg->nr_cpus))
return -EINVAL;
cpu = &lg->cpus[cpu_id];
- if (!cpu)
- return -EINVAL;
/* Once the Guest is dead, you can only read() why it died. */
if (lg->dead)