]> git.baikalelectronics.ru Git - kernel.git/commit
sched: kfree(NULL) is valid
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:13 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:13 +0000 (17:00 +0200)
commitf5b3df4d5b54b3ee23f5641477a2cfefb37cb6b8
tree2fc518e91c9a16f7596e1da861bd6c17abf09c07
parent35817fbb3be52fe6f927c7a2b6cd5737d47c00f7
sched: kfree(NULL) is valid

kfree(NULL) is valid.

pointed out by checkpatch.pl.

the fix shrinks the code a bit:

   text    data     bss     dec     hex filename
  40024    3842     100   43966    abbe sched.o.before
  40002    3842     100   43944    aba8 sched.o.after

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c