From patchwork Tue Jun 19 19:43:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 139255 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5621145lji; Tue, 19 Jun 2018 12:53:24 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJbqDE12idPumugfw/ZpMgAwsfc2DF3K5i8geUutGZ/zvBGRPZPbaKf6PtDJGZcwCzhQvUv X-Received: by 2002:a17:902:70ca:: with SMTP id l10-v6mr7363145plt.174.1529438004033; Tue, 19 Jun 2018 12:53:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529438004; cv=none; d=google.com; s=arc-20160816; b=eq1KMv/9KgLAZXWy3XrZLAkdQdXnz+QKLyfsvq+wHQNS6qNfA8ASZMp/LXbJZq30Pu /Spstv5kI6pt0irvdHb2sG2/Fu0kYNBRWX3F62/2MCN7nNO7pnhxqtd+mwtYn3vwf/gL cJjtt5GyfHdBW8YIfddA0jY3u3nNp+IXjwz8fW4fOdhnqToy6Ded8A0R1nvo8QD7cX9A heGMakLGCJEdj4fhHg5+Y3rJ3DAXATIII/eW6ezL0z+XtS1ZN69OFT8tpeXUKCKCZZBc GyWgyew1qXHFooQUOR183EzGBDtiAmJ5tVgzYNXZdDpc66Y+9+tQRareOmPkrNtG4VmO /1ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=iG1a6hrZC1OZv9XhqmdvLFvpwbE9VvlZfH8NcaYKvK0=; b=t6kVPNEfWTIhj8YHVcvhkennDGxP7A01+x0pFemyFvn4z5OMRNErgjY7FlnCSVDeaS d9UGcypUasTpxS9+Ap7CtrLe4JiU2HLhFjCsCSyvwfWKu+jPSg5J7NHQCl1Zw+jmqjVh 8e16sfFMk4BdF56c3fUeX6TpfLKKgXgy3EtcsLZrK3DR/kwxmEOPSo75gEmvT9M5kof8 dJSYegp5rG9g5WAOmEbbhlqJ1TuxUu+WBPhKbw04NplDINmHBPW0Cxx6E/ucKwJ/SKYn vjmLN4d7cGNB+K/AZyzKr8ZjavrYRlTqMFhUgSV2Rxuh9Q8lDgVcyOPWMXwFSpryOFQM QZfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SPsLcnG3; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2-v6si480018pfj.6.2018.06.19.12.53.23; Tue, 19 Jun 2018 12:53:24 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SPsLcnG3; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030661AbeFSTxW (ORCPT + 30 others); Tue, 19 Jun 2018 15:53:22 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:56644 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030504AbeFSTxU (ORCPT ); Tue, 19 Jun 2018 15:53:20 -0400 X-Greylist: delayed 578 seconds by postgrey-1.27 at vger.kernel.org; Tue, 19 Jun 2018 15:53:20 EDT Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w5JJhbhT021336; Tue, 19 Jun 2018 14:43:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1529437418; bh=iG1a6hrZC1OZv9XhqmdvLFvpwbE9VvlZfH8NcaYKvK0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=SPsLcnG39b4dq3PtfS0Xt177zKMjOoKOJHf/4s3MHZmk0izYDTcdE21nXD1533X3S WhGHD6MA9/Vcsy/Dc186uX7LziKIEg4NjRthd+GiFeEtbL8yqTtw1U/kAPqNaV5LUn QYv1fumXVfwHoh2G6U4ugbVqcqtFe6QUwOjyInlA= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5JJhbKU024508; Tue, 19 Jun 2018 14:43:37 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 19 Jun 2018 14:43:37 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 19 Jun 2018 14:43:37 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5JJhblu017890; Tue, 19 Jun 2018 14:43:37 -0500 From: Nishanth Menon To: Jassi Brar , Mark Rutland , Rob Herring CC: Nishanth Menon , Suman Anna , Tero Kristo , , Subject: [PATCH 1/6] mailbox: ti-msgmgr: Get rid of unused structure members Date: Tue, 19 Jun 2018 14:43:32 -0500 Message-ID: <20180619194337.31522-2-nm@ti.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180619194337.31522-1-nm@ti.com> References: <20180619194337.31522-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Though q_proxies and q_slices do describe the hardware configuration, they are not necessary for operation given that the values are always default. Hence drop the same. Signed-off-by: Nishanth Menon --- Changes since RFC: None RFC: https://patchwork.kernel.org/patch/10447665/ drivers/mailbox/ti-msgmgr.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.15.1 diff --git a/drivers/mailbox/ti-msgmgr.c b/drivers/mailbox/ti-msgmgr.c index 5d04738c3c8a..5fe6ce200264 100644 --- a/drivers/mailbox/ti-msgmgr.c +++ b/drivers/mailbox/ti-msgmgr.c @@ -42,8 +42,6 @@ struct ti_msgmgr_valid_queue_desc { * @queue_count: Number of Queues * @max_message_size: Message size in bytes * @max_messages: Number of messages - * @q_slices: Number of queue engines - * @q_proxies: Number of queue proxies per page * @data_first_reg: First data register for proxy data region * @data_last_reg: Last data register for proxy data region * @tx_polled: Do I need to use polled mechanism for tx @@ -58,8 +56,6 @@ struct ti_msgmgr_desc { u8 queue_count; u8 max_message_size; u8 max_messages; - u8 q_slices; - u8 q_proxies; u8 data_first_reg; u8 data_last_reg; bool tx_polled; @@ -494,8 +490,6 @@ static const struct ti_msgmgr_desc k2g_desc = { .queue_count = 64, .max_message_size = 64, .max_messages = 128, - .q_slices = 1, - .q_proxies = 1, .data_first_reg = 16, .data_last_reg = 31, .tx_polled = false,