Remove the default profile capability

We do not have any driver using it, and we are not sure this will even
be required. Before releasing a version with this, remove it. We
can always re-add this later if the need appears.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2016-02-10 15:22:25 +01:00
parent 0fccfc2338
commit ff2d9713f7
10 changed files with 3 additions and 101 deletions

View File

@@ -197,7 +197,7 @@ START_TEST(device_profiles)
struct ratbag_profile *p;
int nprofiles;
int i;
bool is_active, is_default;
bool is_active;
int device_freed_count = 0;
struct ratbag_test_device td = sane_device;
@@ -216,8 +216,6 @@ START_TEST(device_profiles)
is_active = ratbag_profile_is_active(p);
ck_assert_int_eq(is_active, (i == 0));
is_default = ratbag_profile_is_default(p);
ck_assert_int_eq(is_default, (i == 1));
ratbag_profile_unref(p);
}
ratbag_device_unref(d);