master - dmeventd: drop duplicated code
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=879ea38c53f81ab22225fb368e8787144517d963 Commit: 879ea38c53f81ab22225fb368e8787144517d963 Parent: 1ff53bb7b682a13e32d986e53a40eeb8fb5e47c4 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Nov 22 10:01:52 2013 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Nov 22 21:00:55 2013 +0100
dmeventd: drop duplicated code
Do not call pthread_attr_init() twice.
The second call has all proper tests.
--- daemons/dmeventd/dmeventd.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
daemons/dmeventd/dmeventd.c +0 -1
@@ -273,7 +273,6 @@ static int _pthread_create_smallstack(pthread_t *t, void *(*fun)(void *), void *int r;pthread_t tmp;pthread_attr_t attr; -pthread_attr_init (&attr);/* * From pthread_attr_init man page: