> Just a small cleanup: > 1) Remove unnecessary initialization. > 2) Use the new kzalloc_obj() macro. > 3) Reformat the NULL check to make checkpatch happy. > 4) Remove the unnecessary NULL check before kfree() since the pointer > is not NULL and anyway kfree() accepts NULL pointers.
Do these source code adjustments represent a patch squashing approach? How good does it fit to known development requirements? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.1#n81 Regards, Markus
