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

From: Stephen Rothwell
Date: Tue Aug 01 2017 - 21:32:40 EST


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