mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
V4L/DVB (7732): vivi: fix a warning
some gcc versions complain that fh is used without being defined. The error report is bogus. However, fixing it is trivial. Better to make gcc happy. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
b1721d0da2
commit
63b79cfa05
@ -888,7 +888,7 @@ static int vivi_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
int minor = iminor(inode);
|
||||
struct vivi_dev *dev;
|
||||
struct vivi_fh *fh;
|
||||
struct vivi_fh *fh = NULL;
|
||||
int i;
|
||||
int retval = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user