Normally, the compiler warns if a variable is declared but is never referenced. In the Linux kernel source code, some unused functions and variables are marked
==> https://livegrep.com/search/linux?q=__attribute__((unused))
GCC, on the other hand, does not provide any warnings for these unused and unmarked variables like the integer
Why? |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies