I found following function in a device driver code.
static void module_exit(void)
{
do { } while (0);
}
my question is why they used do { } while (0);
inside this function. They can simply return from there instead of calling this do { } while (0);
. Is there any special reason for having do { } while (0);
here?