projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7caf218
)
dvb_frontend: don't mess with ->f_op in ->release()
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 15 Apr 2013 17:58:21 +0000
(13:58 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:41:47 +0000
(15:41 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/media/dvb-core/dvb_frontend.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/dvb-core/dvb_frontend.c
b/drivers/media/dvb-core/dvb_frontend.c
index 6e50a758156817834e314bd7ca6222a8c9c8f2e2..73fc7fe007511e722cf905fc4fc6202bc9d4dad9 100644
(file)
--- a/
drivers/media/dvb-core/dvb_frontend.c
+++ b/
drivers/media/dvb-core/dvb_frontend.c
@@
-2492,11
+2492,8
@@
static int dvb_frontend_release(struct inode *inode, struct file *file)
if (dvbdev->users == -1) {
wake_up(&fepriv->wait_queue);
- if (fepriv->exit != DVB_FE_NO_EXIT) {
- fops_put(file->f_op);
- file->f_op = NULL;
+ if (fepriv->exit != DVB_FE_NO_EXIT)
wake_up(&dvbdev->wait_queue);
- }
if (fe->ops.ts_bus_ctrl)
fe->ops.ts_bus_ctrl(fe, 0);
}