From patchwork Sat Mar 28 04:41:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Galvan X-Patchwork-Id: 455628 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7E6361400D5 for ; Sat, 28 Mar 2015 15:41:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=sourceware.org header.i=@sourceware.org header.b=Vms95vhQ; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=sDCFSe2mPEWMQomFUooqSgE2gWNNvcmgi4tZZgnq+j94dTGNL6ASy aa8oLlBYOwtJStSCM2ieFzYD/2jR6jduafaZySHNl9aoziL+5DwQETJyitx/H5yK Zm+vdrtM3dEy0xdJU69oXz/kb+6K+Yk7P4O/wtvdat4khD31a4IESs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=IiyCoPfkQprCG/KdoeLUXXG5BRc=; b=Vms95vhQNsRaFR7BpcZLUWxCfY4h B/NsriXtHhsMrizuvcAgrjpyuiC0Rk74dwYPCYWP10cmr0FJzFftAyb6GiCAB5Ow H4GqlY2zfbQRcLyi5CVghwGVdFJ9e9pScNH5NeYP2psJSKpI0WPO1aImUBobhxdV D38L29v2sVcIeYc= Received: (qmail 71873 invoked by alias); 28 Mar 2015 04:41:46 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 71837 invoked by uid 89); 28 Mar 2015 04:41:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mail-qc0-f173.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=dAMx6u3jW8g+ejwt+x7h85+yBhmKmRLSqyVYvy0GLk4=; b=Ki6TlOyV+sm6UY6k3Mp/oVHQzS8JdaYl6+n3RXgBEW9BKHj0WXDb2PM1K3e3lld3V7 RMzJ/f4AfqA1UZrwiRuhdUax4vUFgvlGgHROyeyx8lxGJTl/2nhRcVg3V1m38JUk5PzL Yt4Y2yE1yrXjco5RYZKNCnXc0Ze+SqHgdnzw2lV5mXNt7qrHtIaz+LpYIkuDPn6gDqZo N9z8OADJBjf008ScrkJWI6NPyf9NdOZu5JTpKn8Wj0LZnDsutB+lFRv746i9cjj1AJhg StD3jRw4CBIMnmHj1/yuPJ/EvKCcXR8E+Fhk7rf6J4BbanF2BmcU45zvJ2YA/ZjKKEYg Tbvw== X-Gm-Message-State: ALoCoQltrB6qZyNwLod/bWrrY4g3RUjnFO0HFIbJ4CLiIJ0r7I7iqZR0/RDHNJnrxTWpGzDSmIIP X-Received: by 10.140.192.15 with SMTP id n15mr29466969qha.28.1427517702212; Fri, 27 Mar 2015 21:41:42 -0700 (PDT) From: Martin Galvan To: libc-alpha@sourceware.org Subject: [PATCH] NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP. Date: Sat, 28 Mar 2015 01:41:35 -0300 Message-Id: <1427517695-8268-1-git-send-email-martin.galvan@tallertechnologies.com> The PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP macro was defined twice with the same values in pthread.h; this removes the second definition. I don't have a copyright assignment yet, but since this is a minor change I don't think it's necessary. ChangeLog: 2015-03-28 Martin Galvan * sysdeps/nptl/pthread.h: Removed duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP. --- sysdeps/nptl/pthread.h | 2 -- 1 file changed, 2 deletions(-) -- 2.3.4 diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h index 70ff250..89d0882 100644 --- a/sysdeps/nptl/pthread.h +++ b/sysdeps/nptl/pthread.h @@ -92,8 +92,6 @@ enum { { 0, 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, __PTHREAD_SPINS, { 0, 0 } } } # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ { { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, __PTHREAD_SPINS, { 0, 0 } } } -# define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ - { { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, __PTHREAD_SPINS, { 0, 0 } } } # endif #else