[Spice-devel] [PATCH spice-server] sound: Avoid unused IOV_MAX definition

Frediano Ziglio fziglio at redhat.com
Wed Feb 15 12:37:57 UTC 2017


The usage was removed with commit 7ea1f2c133a8e57523078ba3112cec6a1d2f353e
("sound: Use RedChannelClient to receive/send data").

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/sound.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/server/sound.c b/server/sound.c
index 530a7ec..afe9c96 100644
--- a/server/sound.c
+++ b/server/sound.c
@@ -39,10 +39,6 @@
 #include "sound.h"
 #include "main-channel-client.h"
 
-#ifndef IOV_MAX
-#define IOV_MAX 1024
-#endif
-
 #define SND_RECEIVE_BUF_SIZE     (16 * 1024 * 2)
 #define RECORD_SAMPLES_SIZE (SND_RECEIVE_BUF_SIZE >> 2)
 
-- 
2.9.3



More information about the Spice-devel mailing list