]> git.baikalelectronics.ru Git - kernel.git/commit
x86: debug Store - call kfree if only we really need it
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 1 Apr 2008 15:41:50 +0000 (19:41 +0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:34 +0000 (17:41 +0200)
commit1a9492593bf50890fcb9d9d2d21e8001a061ce21
tree92181215fe9d9d00e949edd1d0ef654d6301f279
parente2bc0a7fce75d24ffe8e87b6b1e4d12a6c86285f
x86: debug Store - call kfree if only we really need it

We should call for kfree if only we really need it.
Though it's safe to call kfree with NULL pointer passed
in this code we've already tested the pointer and can
eliminate the call

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ds.c