OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eccd385
)
a2dp: Remove not used macros definitions
author
Szymon Janc
<szymon.janc@tieto.com>
Wed, 12 Dec 2012 10:27:55 +0000
(11:27 +0100)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Wed, 19 Dec 2012 11:57:24 +0000
(13:57 +0200)
MIN and MAX macros are not used.
profiles/audio/a2dp.c
patch
|
blob
|
history
diff --git
a/profiles/audio/a2dp.c
b/profiles/audio/a2dp.c
index
6df048d
..
66037f5
100644
(file)
--- a/
profiles/audio/a2dp.c
+++ b/
profiles/audio/a2dp.c
@@
-52,14
+52,6
@@
#define SUSPEND_TIMEOUT 5
#define RECONFIGURE_TIMEOUT 500
-#ifndef MIN
-# define MIN(x, y) ((x) < (y) ? (x) : (y))
-#endif
-
-#ifndef MAX
-# define MAX(x, y) ((x) > (y) ? (x) : (y))
-#endif
-
struct a2dp_sep {
struct a2dp_server *server;
struct a2dp_endpoint *endpoint;