Diff of /libop/op_get_interface.c [a8d9ee] .. [fcb818] Maximize Restore

  Switch to side-by-side view

--- a/libop/op_get_interface.c
+++ b/libop/op_get_interface.c
@@ -22,11 +22,8 @@
 	if (current_interface != OP_INTERFACE_NO_GOOD)
 		return current_interface;
 
-	if (op_file_readable("/proc/sys/dev/oprofile/cpu_type")) {
-		current_interface = OP_INTERFACE_24;
-	} else if (op_file_readable("/dev/oprofile/cpu_type")) {
+	if (op_file_readable("/dev/oprofile/cpu_type"))
 		current_interface = OP_INTERFACE_26;
-	}
 
 	return current_interface;
 }