Received: by 10.213.65.68 with SMTP id h4csp4138367imn; Tue, 10 Apr 2018 09:47:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx49aeeKhVmWIkEr7zc8SU0K/3J3lhzaSEqX0m7KSGzMhN5dkiqoARO6sHgxJeUE+0IiU+Jgp X-Received: by 2002:a17:902:5204:: with SMTP id z4-v6mr1180092plh.385.1523378872943; Tue, 10 Apr 2018 09:47:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523378872; cv=none; d=google.com; s=arc-20160816; b=KJNXiC/2wsr1gl+ytB6+e0fNdTyNrwV5K9U3xU7bkfAm53xMh+EdqxiRTxUfmznSKn S5Gy2Hnrzv1jHo7ASaQtF/anzp8I7YA7vMPLpHL7wawOCIP/GKG8VjyF2pR9XCjVUutX iZaAsz5xzL7hcbW7e9rZmumTBjWndWMDG/1Lt6LfPWmTB4ysXtPGRWVu3k68yAIEFi8F SQCRCQdvdbsJVxTplDgb1C7i0EOaDTsrECRdc4jKn3hdVrkmm/H34+54Fw7cpY6xWJIK 4UGu2OElBlv2JE7uVirBdYzLI8giABtoQ+hUH9lv3FL7JjBv/hAGU5htRyP8cTh8DqQt HtnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3ZgvzBGqU3PaveV1zW2P2SMZxrouAXXScgKFO9Lg2eA=; b=flNAXo09VAqXTLeOkDizRLnU8ruQsgTFkEJHRfYupPX/rq+u7Gjxzz9k/+mqMiWS4N Ci/Kga8Lh2nAmU5ewk+wea89tn64lVxrB2Yg5m34OzAIqXk03rzwnMtwGL1TgZHFwcTK q/JMcUBip7WNGDa1Ov29lpHJNZLO5Dt5QDKmsCvQGP+CS1+UYaMBsYEsTlhHKYSdgsTf ZuYV2W0/zZquH7pv7AySFCSrrfXjtjoXs9hyKqMcBnj9zARIq/hNsIhxTHnztEqGiTsv 8L3fmljXeUktCUPjHRkzExj+AdFke5Us1iu7qH0ks9cMoQlSinqcttOZ46NoxTrHvx0z sKbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r74si2358307pfe.63.2018.04.10.09.47.16; Tue, 10 Apr 2018 09:47:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751881AbeDJQlV (ORCPT + 99 others); Tue, 10 Apr 2018 12:41:21 -0400 Received: from smtp2.provo.novell.com ([137.65.250.81]:58850 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272AbeDJQlU (ORCPT ); Tue, 10 Apr 2018 12:41:20 -0400 Received: from linux-n805.suse.de (prv-ext-foundry1int.gns.novell.com [137.65.251.240]) by smtp2.provo.novell.com with ESMTP (TLS encrypted); Tue, 10 Apr 2018 10:41:11 -0600 From: Davidlohr Bueso To: peterz@infradead.org, tglx@linutronix.de, mingo@kernel.org Cc: longman@redhat.com, dave@stgolabs.net, linux-kernel@vger.kernel.org, Davidlohr Bueso Subject: [PATCH 1/2] locking/rtmutex: Delete save_state member of struct rt_mutex Date: Tue, 10 Apr 2018 09:27:49 -0700 Message-Id: <20180410162750.8290-1-dave@stgolabs.net> X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This field (debug) is unused. Furthermore it looks like a result of rtmutex from -rt into upstream, where it serves to determine if the wakeup is for a task blocked on a "sleeping spinlock", iow if this is a regular rt_mutex_lock() or rt_spin_lock(). Of course, upstream we only have regular rt_mutexes, thus we can safely assume nothing will be done with this field anyway. There is also the fact that this is under debug. Signed-off-by: Davidlohr Bueso --- include/linux/rtmutex.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h index 1b92a28dd672..572606acd700 100644 --- a/include/linux/rtmutex.h +++ b/include/linux/rtmutex.h @@ -32,7 +32,6 @@ struct rt_mutex { struct rb_root_cached waiters; struct task_struct *owner; #ifdef CONFIG_DEBUG_RT_MUTEXES - int save_state; const char *name, *file; int line; void *magic; -- 2.13.6