>Hi Helge, > >>num_registered_fb is still used in: >>drivers/staging/olpc_dcon/olpc_dcon.c: if (num_registered_fb < 1) { >> >>Helge > >Thanks, you're right, num_registered_fb is still being used. >I'll check this patch and submit v2. Update: num_registered_fb and registered_fb are used by olpc_dcon.c, However, olpc_dcon.c has been marked as broken [1]. I do not have the knowledge to remove the dependency of fbdev from olpc_dcon.c, I'll leave num_registered_fb and registered_fb as-is. [1] https://lore.kernel.org/all/20220609223424.907174-1-javierm@xxxxxxxxxx/ >thanks, >Min-Hua >