Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp438876ybb; Thu, 28 Mar 2019 05:43:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqz98vGmredWNGWfxijUPXrmDwrp9TsaoF4xYogQGU+ixPWF0EWl/E098z6ojLgMtdKI6LhE X-Received: by 2002:a17:902:6b8c:: with SMTP id p12mr43497278plk.282.1553776990065; Thu, 28 Mar 2019 05:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553776990; cv=none; d=google.com; s=arc-20160816; b=PERDAGaqcecG4qjWOa71TKDwunqI+EOeKzp8IvcATTd/IyJqD9/EMvRRGVdGeozXA8 e2l3tZzTi16jSeaXTRiNQ7EVExtB+yhWKiPmQ4bNWQSskwSP3EC3+PLvr8DfTHcGt0NW V/4GrKN/AgJVW8vcclnbVHk0xncPZf6hP6QEwu6q4kd7uloe2yFR82RN/7S2vnfP+QN6 QPFcBHZ/ijoslvBL5QKGqO7NBoHWcDciIQJ4jnOx1XnkdAWHhxY1eZGzMNFLeT/0F3Z2 5Tks8BnVxtR9HNsb0UrJfJ7twVJxyBoz3mJCb5cOlFJYVTrdDtupbnM9vUGkgCwF6//8 AXBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=xmbjeAZQk18mUUw0qPzLqMr3mZFiS9x+UApKG116494=; b=BygMArJ9udtavk2CywGoJ4ZjB8X0qUDNIHBLB3TvJ/6Wd/FDQIrXyIa0AfQootxZ/Q 4wUfGcUHiwJ1dRnmbbazdXIajhGf2fRTO6AUv8QUOICJqX11oLgsMsuZgesbAKMsbeMl UGl/PU6URPz0Vm5ItsO5Q46UcoWNXJiYHkLseueQdDSFu8a0VASxVI7SLasr33GQ/LdY cFskCh0w88k/Z0Yiu6Y2zVFIlEh0b/GUk5ZBMoDGAvPpmsEuAE7xLzj/ssiyQvgzUfol tAXUV+TsWHzPAzD8OMotJVpsCDIyR8NlV0Wywn5LCJzHkCaLLd35F4mla5Hi9hnhcK34 RdEw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si9805864pgp.463.2019.03.28.05.42.54; Thu, 28 Mar 2019 05:43:10 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbfC1Mlr (ORCPT + 99 others); Thu, 28 Mar 2019 08:41:47 -0400 Received: from mga09.intel.com ([134.134.136.24]:34145 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbfC1Mgi (ORCPT ); Thu, 28 Mar 2019 08:36:38 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2019 05:36:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,280,1549958400"; d="scan'208";a="156023572" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 28 Mar 2019 05:36:34 -0700 Received: by black.fi.intel.com (Postfix, from userid 1001) id CE1F2217; Thu, 28 Mar 2019 14:36:33 +0200 (EET) From: Mika Westerberg To: linux-kernel@vger.kernel.org Cc: Michael Jamet , Yehezkel Bernat , Andreas Noever , Lukas Wunner , "David S . Miller" , Andy Shevchenko , Christian Kellner , Mario.Limonciello@dell.com, Mika Westerberg , netdev@vger.kernel.org Subject: [PATCH v3 02/36] thunderbolt: Remove unused work field in struct tb_switch Date: Thu, 28 Mar 2019 15:35:59 +0300 Message-Id: <20190328123633.42882-3-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190328123633.42882-1-mika.westerberg@linux.intel.com> References: <20190328123633.42882-1-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This field is not used anywhere so remove it. Reported-by: Lukas Wunner Signed-off-by: Mika Westerberg --- drivers/thunderbolt/tb.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h index 52584c4003e3..8058ea02d572 100644 --- a/drivers/thunderbolt/tb.h +++ b/drivers/thunderbolt/tb.h @@ -70,7 +70,6 @@ struct tb_switch_nvm { * @boot: Whether the switch was already authorized on boot or not * @rpm: The switch supports runtime PM * @authorized: Whether the switch is authorized by user or policy - * @work: Work used to automatically authorize a switch * @security_level: Switch supported security level * @key: Contains the key used to challenge the device or %NULL if not * supported. Size of the key is %TB_SWITCH_KEY_SIZE. @@ -105,7 +104,6 @@ struct tb_switch { bool boot; bool rpm; unsigned int authorized; - struct work_struct work; enum tb_security_level security_level; u8 *key; u8 connection_id; -- 2.20.1