V4L/DVB (9193): stk-webcam: minor cleanup
authorDavid Ellingsworth <david@identd.dyndns.org>
Mon, 13 Oct 2008 20:54:52 +0000 (17:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 17 Oct 2008 20:14:57 +0000 (17:14 -0300)
commit081d868faeb7acdd655c28607f84e797240bd035
tree35e0bcd9c8dbb1875f8d20abc957fcb66fda13ea
parent962d699e5d12952c43d7316bc72a527a8aa134b7
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>
drivers/media/video/stk-webcam.c
drivers/media/video/stk-webcam.h