projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/virt/fsl_hypervisor: remove unneeded `ret` variable in `fsl_hv_open()`
[linux-2.6-microblaze.git]
/
drivers
/
virt
/
fsl_hypervisor.c
diff --git
a/drivers/virt/fsl_hypervisor.c
b/drivers/virt/fsl_hypervisor.c
index
e49bec8
..
0703524
100644
(file)
--- a/
drivers/virt/fsl_hypervisor.c
+++ b/
drivers/virt/fsl_hypervisor.c
@@
-659,7
+659,6
@@
static int fsl_hv_open(struct inode *inode, struct file *filp)
{
struct doorbell_queue *dbq;
unsigned long flags;
- int ret = 0;
dbq = kzalloc(sizeof(struct doorbell_queue), GFP_KERNEL);
if (!dbq) {
@@
-676,7
+675,7
@@
static int fsl_hv_open(struct inode *inode, struct file *filp)
filp->private_data = dbq;
- return
ret
;
+ return
0
;
}
/*