diff options
author | David Ellingsworth <david@identd.dyndns.org> | 2008-10-13 16:54:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-17 16:14:57 -0400 |
commit | 081d868faeb7acdd655c28607f84e797240bd035 (patch) | |
tree | 35e0bcd9c8dbb1875f8d20abc957fcb66fda13ea /drivers/media/video/stk-webcam.h | |
parent | 962d699e5d12952c43d7316bc72a527a8aa134b7 (diff) |
V4L/DVB (9193): stk-webcam: minor cleanup
This patch:
1) removes the unnecessary kref.h include file
2) removes unnecessary pointer validation from read and poll routines.
(Neither poll nor read may be called unless a call to open succeeds. A
successful call to open will always set the file private_data pointer.
Verifying that it is not null is therefore unnecessary. The associated
release and mmap calls currently ignore this check.)
3) adds a space to syslog output.
4) removes an unused function prototype.
Signed-off-by: David Ellingsworth <david@identd.dyndns.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/stk-webcam.h')
-rw-r--r-- | drivers/media/video/stk-webcam.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/stk-webcam.h b/drivers/media/video/stk-webcam.h index 084a85bdd16e..9f6736637571 100644 --- a/drivers/media/video/stk-webcam.h +++ b/drivers/media/video/stk-webcam.h | |||
@@ -122,7 +122,6 @@ struct stk_camera { | |||
122 | 122 | ||
123 | #define vdev_to_camera(d) container_of(d, struct stk_camera, vdev) | 123 | #define vdev_to_camera(d) container_of(d, struct stk_camera, vdev) |
124 | 124 | ||
125 | void stk_camera_delete(struct kref *); | ||
126 | int stk_camera_write_reg(struct stk_camera *, u16, u8); | 125 | int stk_camera_write_reg(struct stk_camera *, u16, u8); |
127 | int stk_camera_read_reg(struct stk_camera *, u16, int *); | 126 | int stk_camera_read_reg(struct stk_camera *, u16, int *); |
128 | 127 | ||