]> git.karo-electronics.de Git - linux-beck.git/commit
oprofile, x86: Remove duplicate check for IBS_CAPS_OPCNT
authorRobert Richter <robert.richter@amd.com>
Tue, 21 Sep 2010 16:09:00 +0000 (18:09 +0200)
committerRobert Richter <robert.richter@amd.com>
Fri, 15 Oct 2010 10:50:41 +0000 (12:50 +0200)
commitfc889aa23f4767c1c3f77fce11e17bb0a638971f
tree9d50e69bdfbc7fe87aa39868ca1a84ca25d90340
parent4ac945f002c0bebdeb530cbc3729e22895e64a7e
oprofile, x86: Remove duplicate check for IBS_CAPS_OPCNT

Since oprofile is setting up ibs_op/dispatched_ops in the fs only if
the feature is available, its corresponding variable
ibs_config.dispatched_ops is only set, if the feature is
available. Thus the check is duplicate and can be removed.

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