Unused macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I was updating the includes on some manual pages, when I found that a
macro used ARRAY_SIZE() without including a header that defines it.
That surprised me, because it would more than likely result in a compile
error, but of course, the macro wasn't being used:

.../linux$ grep -rn SCTP_CHUNKMAP_IS_ALL_SET
include/uapi/linux/netfilter/xt_sctp.h:80:#define
SCTP_CHUNKMAP_IS_ALL_SET(chunkmap) \
.../linux$

I'd remove it myself and send a patch, but there are probably more
unused macros/functions in the same or related headers, and I see that
many years ago you did some clean up, so maybe you want to clean up even
more, and maybe remove an entire set of functions/macros.

Cheers,

Alex

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux