From patchwork Mon Jul 16 18:06:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 142093 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2711284ljj; Mon, 16 Jul 2018 11:06:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdlsbpS/CdHLNRmGrvdJp7FdFSxr1CFPZS8US8Mbd0Tgyniq/nH/SetCSZafjCQGkqqfubn X-Received: by 2002:a17:902:ab8e:: with SMTP id f14-v6mr6488637plr.5.1531764408230; Mon, 16 Jul 2018 11:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531764408; cv=none; d=google.com; s=arc-20160816; b=TScMP2pLDE3ctkUDTfEdtfhx0LgOSsFtl4619DDAAF4KOCAVLtuy+CafXijwxj+dCr 8zE8pUqJIWb+tZxkqBX2ab3M+7eXiuZ4NHNhHtujFXL3wzRoz1gxgFsriYL4gbl6hOvQ Jvlahuj4MsKzHtDTP26eikjR3zXL9flw+N3kEZEn/VgH0474RXHAOy3S+dri+NIn0sqX RpHywlRWNjKnbj8m3dNZSzpMU5eHMZc5KoMy2js921BOaDECJG5JM6ZDrZa48GOL1Kbt /8SJfGA+LVJj4A+hU5WLaRPsPlLgzQPBjVrKr/dfGLwuDWkZ3Nq0K1O9JoyYWGsjAcDb knlA== 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=+gNJH6tUyaRo/CVLGwkbmkO/awXG5iSGvov9zPDwJBc=; b=E5egzwmTIP/eTXVNagXQiDmaT24bYJEtAVMPrUprUpdqPQrN6tqyvsgAWsOm0xYLqh VgrIgo/pE3UudxjUDUIiOw6+t+y8fSX6VQU8WAjsUHj6S/LnPZdtwfW6sftV0eAp1jHH 3NX0Dj8WlrWtZ2ZaUqt5ohNhDO3dCj5Y+S+Kj8zECmCOSgE3yJtwAhfeB1X47fnVlSpt QCWtlxYO9ZRlo2Cn9JTZLZGA09Y0r7u2KYqiuvCf1nucnNkuzLyD50GtDXlv7wvvbxEN jtwW2N3txXhvpPrLzH7LKYovb7y0ohGhoYFDvj5MfdDxtU8OKa0CzB/OwvXpd1xLK3vN 5VFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=c+9uqglu; 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 e4-v6si30915758pfi.184.2018.07.16.11.06.47; Mon, 16 Jul 2018 11:06:48 -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=c+9uqglu; 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 S1730795AbeGPSfA (ORCPT + 31 others); Mon, 16 Jul 2018 14:35:00 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:41072 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730161AbeGPSe7 (ORCPT ); Mon, 16 Jul 2018 14:34:59 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w6GI68Yb021283; Mon, 16 Jul 2018 13:06:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1531764369; bh=+gNJH6tUyaRo/CVLGwkbmkO/awXG5iSGvov9zPDwJBc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=c+9uqgluaLuQfNumjulFEHnoGJO0gOKX0O1S/iEDcGcXKYyDe/fq1T35HuuUy+hVy /KT+g32b/cfvuDJEqYXe3sKM+oyRhhNrQID5roPSl9VivGT84wgxBf1QAXR8FrtC4i n3JiqXAV6zdlpYc3z1aS1qntK6s81l1vp/TO2B0k= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w6GI68LA018309; Mon, 16 Jul 2018 13:06:08 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 16 Jul 2018 13:06:08 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 16 Jul 2018 13:06:08 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w6GI68gJ019367; Mon, 16 Jul 2018 13:06:08 -0500 From: Nishanth Menon To: Jassi Brar , Mark Rutland , Rob Herring CC: Nishanth Menon , Suman Anna , Tero Kristo , , , Subject: [PATCH V2 1/6] mailbox: ti-msgmgr: Get rid of unused structure members Date: Mon, 16 Jul 2018 13:06:02 -0500 Message-ID: <20180716180607.16526-2-nm@ti.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180716180607.16526-1-nm@ti.com> References: <20180716180607.16526-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 V1: None V1: https://patchwork.kernel.org/patch/10475339/ 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,