Re: [PATCH] LoongArch: KVM: Remove useless MODULE macro for MODULE_DEVICE_TABLE

From: maobibo
Date: Tue Apr 02 2024 - 09:07:15 EST




On 2024/4/2 下午8:47, Wentao Guan wrote:
Hello,Bibo,

I change this that we see other guys use "MODULE_DEVICE_TABLE(cpu,..."
without use that MODULE macro,and mark cpu_feature struct "__maybe_unused",
do the same way to avoid unused variable compiler warning  :).

yeap, it looks good to me with __maybe_unused added.

Regards
Bibo Mao

BRs
Wentao Guan