c - What is the intention of following function? -
i found following function in device driver code.
static void module_exit(void) { { } while (0); }
my question why used do { } while (0);
inside function. can return there instead of calling do { } while (0);
. there special reason having do { } while (0);
here?
there no special reason use while, in module_exit has clean functions un-register drivers. while exit in case. while(0) false case , fall out of loop .
Comments
Post a Comment