Linux-wireless: why use macro to call functions

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


Hi,

On Mon, Dec 23, 2013 at 8:03 PM, Bernd Petrovitsch <
bernd at petrovitsch.priv.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.

Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131224/5ab5b544/attachment.html 


More information about the Kernelnewbies mailing list