linux-next: build warnings after merge of the staging tree

From: Stephen Rothwell
Date: Mon May 14 2018 - 00:34:13 EST


Hi Greg,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/staging/most/video/video.c: In function 'vidioc_enum_fmt_vid_cap':
drivers/staging/most/video/video.c:265:25: warning: unused variable 'mdev' [-Wunused-variable]
struct most_video_dev *mdev = fh->mdev;
^~~~
drivers/staging/most/video/video.c: In function 'vidioc_g_fmt_vid_cap':
drivers/staging/most/video/video.c:282:25: warning: unused variable 'mdev' [-Wunused-variable]
struct most_video_dev *mdev = fh->mdev;
^~~~
drivers/staging/most/video/video.c: In function 'vidioc_g_std':
drivers/staging/most/video/video.c:309:25: warning: unused variable 'mdev' [-Wunused-variable]
struct most_video_dev *mdev = fh->mdev;
^~~~

Introduced by commit

7d7cdb4fa552 ("staging: most: video: remove debugging code")

--
Cheers,
Stephen Rothwell

Attachment: pgpV7hph9uEb6.pgp
Description: OpenPGP digital signature