linux-next: build warning after merge of the fbdev tree

Stephen Rothwell
2017-08-02T01:32:15Z

Hi Bartlomiej,

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

drivers/video/fbdev/matrox/matroxfb_base.c:1583:12: warning: 'hotplug' defined but not used [-Wunused-variable]
static int hotplug = 0;
^

Introduced by commit

376b3ff54c9a ("fbdev: Nuke FBINFO_MODULE")

"hotplug" is only used when CONFIG_MODULE is not set, now.

--
Cheers,
Stephen Rothwell