Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181665
b: refs/heads/master
c: 62bdbb7
h: refs/heads/master
i:
  181663: ef25ecb
v: v3
  • Loading branch information
Julia Lawall authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 8a88b0c commit 79ab3a4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0289efa1938eac27a98883bf33af946b13e1110
refs/heads/master: 62bdbb735c0415c2ffdddc2269a860a76f7f716a
5 changes: 0 additions & 5 deletions trunk/drivers/media/dvb/frontends/stv0900_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1417,11 +1417,6 @@ static enum fe_stv0900_error stv0900_init_internal(struct dvb_frontend *fe,
return error;
}

if (state->internal == NULL) {
error = STV0900_INVALID_HANDLE;
return error;
}

intp = state->internal;

intp->demod_mode = p_init->demod_mode;
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/media/video/cpia.c
Original file line number Diff line number Diff line change
Expand Up @@ -3737,9 +3737,6 @@ static int cpia_mmap(struct file *file, struct vm_area_struct *vma)
if (size > FRAME_NUM*CPIA_MAX_FRAME_SIZE)
return -EINVAL;

if (!cam || !cam->ops)
return -ENODEV;

/* make this _really_ smp-safe */
if (mutex_lock_interruptible(&cam->busy_lock))
return -EINTR;
Expand Down

0 comments on commit 79ab3a4

Please sign in to comment.