From e5ea8153100355ac70e39b27b48cbaa0b23187e8 Mon Sep 17 00:00:00 2001 From: jilles Date: Fri, 16 Aug 2013 20:24:41 +0000 Subject: sh: Remove unnecessary reset functions. These are already handled by exception handlers. --- bin/sh/redir.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'bin/sh/redir.c') diff --git a/bin/sh/redir.c b/bin/sh/redir.c index dde4384..9325545 100644 --- a/bin/sh/redir.c +++ b/bin/sh/redir.c @@ -319,18 +319,6 @@ popredir(void) INTON; } -/* - * Undo all redirections. Called on error or interrupt. - */ - -void -resetredir(void) -{ - while (redirlist) - popredir(); -} - - /* Return true if fd 0 has already been redirected at least once. */ int fd0_redirected_p(void) -- cgit v1.1