oprofile, x86: Simplify init/exit functions
authorRobert Richter <robert.richter@amd.com>
Thu, 30 Sep 2010 16:55:47 +0000 (18:55 +0200)
committerRobert Richter <robert.richter@amd.com>
Fri, 1 Oct 2010 15:05:47 +0000 (17:05 +0200)
commit5140434d5f82f2e2119926272ada2e9731ec04f1
treeabb2938ef04b4b2844a6960b4635f84a71ccb83c
parentf6dedecc37164a58bb80ae2ed9d204669ffc4850
oprofile, x86: Simplify init/exit functions

Now, that we only call the exit function if init succeeds with commit:

 979048e oprofile: don't call arch exit code from init code on failure

we can simplify the x86 init/exit functions too. Variable using_nmi
becomes obsolete.

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c