diff options
author | Szymon Janc <szymon.janc@codecoup.pl> | 2015-10-16 12:24:09 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@codecoup.pl> | 2015-10-30 11:44:19 +0100 |
commit | 97075679fe12d96fb433a1cac860e5dd90538e72 (patch) | |
tree | ce21f4b709249050f4153b7acf057bdb66c2ca52 /android/avdtptest.c | |
parent | 962285c7cf3719e59db1a351ae615e87d3f242ad (diff) | |
download | bluez-97075679fe12d96fb433a1cac860e5dd90538e72.tar.gz |
android: Remove dead code
This removes dead code due to memory allocation with new0 not being
able to fail.
Diffstat (limited to 'android/avdtptest.c')
-rw-r--r-- | android/avdtptest.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/android/avdtptest.c b/android/avdtptest.c index 01d52eae7..ce344437d 100644 --- a/android/avdtptest.c +++ b/android/avdtptest.c @@ -869,10 +869,6 @@ int main(int argc, char *argv[]) } lseps = queue_new(); - if (!lseps) { - printf("Failed to allocate memory\n"); - exit(1); - } local_sep = avdtp_register_sep(lseps, dev_role, AVDTP_MEDIA_TYPE_AUDIO, 0x00, TRUE, &sep_ind, &sep_cfm, NULL); |