diff options
Diffstat (limited to 'android/hog.c')
-rw-r--r-- | android/hog.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/android/hog.c b/android/hog.c index ff77bb377..22f4228db 100644 --- a/android/hog.c +++ b/android/hog.c @@ -1299,8 +1299,6 @@ static void hog_attach_bas(struct bt_hog *hog, struct gatt_primary *primary) struct bt_bas *instance; instance = bt_bas_new(primary); - if (!instance) - return; bt_bas_attach(instance, hog->attrib); queue_push_head(hog->bas, instance); |