From aa4a8d9c0f08687618dfcf96bc0c553ef17fbc1d Mon Sep 17 00:00:00 2001
From: Andre Noll <maan@systemlinux.org>
Date: Thu, 13 Jun 2013 10:54:24 +0200
Subject: [PATCH] alsa: Don't set t->error in ->pre_select().

->pre_select() methods should never fail, and tasks should not
set this variable at all. It is ignored anyway when set there.
---
 alsa_write.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/alsa_write.c b/alsa_write.c
index a3912c11..0824640b 100644
--- a/alsa_write.c
+++ b/alsa_write.c
@@ -211,7 +211,6 @@ static void alsa_write_pre_select(struct sched *s, struct task *t)
 	if (ret < 0) {
 		PARA_ERROR_LOG("could not get alsa poll fd: %s\n",
 			snd_strerror(-ret));
-		t->error = -E_ALSA;
 		return;
 	}
 	pad->poll_fd = pfd.fd;
-- 
2.39.5