Linux-wireless: why use macro to call functions

Fred Chou fred.chou.nd at
Tue Dec 24 07:19:58 EST 2013


On Mon, Dec 23, 2013 at 8:03 PM, Bernd Petrovitsch <
bernd at> wrote:
> And the macro just avoids to copy-paste identical lines/logic.

Thank you all for the explanation. Originally I was wondering if there
could be some other reasons. So the main (or only?) purpose of the macro is
to save some typing, and in terms of functionality I could equivalently
call each handlers.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list