git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB: ov511: cleanup: remove unneeded null check
[safe/jmp/linux-2.6]
/
drivers
/
media
/
video
/
ov511.c
diff --git
a/drivers/media/video/ov511.c
b/drivers/media/video/ov511.c
index
6085d55
..
a109120
100644
(file)
--- a/
drivers/media/video/ov511.c
+++ b/
drivers/media/video/ov511.c
@@
-5940,7
+5940,7
@@
ov51x_disconnect(struct usb_interface *intf)
ov->dev = NULL;
/* Free the memory */
- if (
ov &&
!ov->user) {
+ if (!ov->user) {
mutex_lock(&ov->cbuf_lock);
kfree(ov->cbuf);
ov->cbuf = NULL;