zoran: don't bother with struct file * in zoran_map
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 09:49:40 +0000 (13:49 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 20:01:10 +0000 (00:01 +0400)
commit3b6456d2c3fc9d0c4ec1db5d6594f40098ff0a6f
tree9b4c29a45093004f734094f6246f5b4f543db936
parent3b8b487114c95ef6db5fef708ef69bfb5209014e
zoran: don't bother with struct file * in zoran_map

all we need it for is file->private_data, which is assign-once, already
assigned by that point and, incidentally, its value is already in use
by zoran ->mmap() anyway.  So just store that pointer instead...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/media/video/zoran/zoran.h
drivers/media/video/zoran/zoran_driver.c