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)
commit431ef7a2a486201967304fcc9cfc33e945626fed
tree92181215fe9d9d00e949edd1d0ef654d6301f279
parent19b4e7f4e9b1c88459cf2c9b9ccaa09cb8bf854d
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