Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/695632/?format=api
{ "id": 695632, "url": "http://patchwork.ozlabs.org/api/patches/695632/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1479307230-16650-12-git-send-email-claudiu.manoil@nxp.com/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<1479307230-16650-12-git-send-email-claudiu.manoil@nxp.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1479307230-16650-12-git-send-email-claudiu.manoil@nxp.com/", "date": "2016-11-16T14:40:24", "name": "[11/17] soc/qman: Remove unused struct qm_mcc* layouts", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "af1e65d248e4c6042a4484b8dedd3fa189be468e", "submitter": { "id": 68115, "url": "http://patchwork.ozlabs.org/api/people/68115/?format=api", "name": "Claudiu Manoil", "email": "claudiu.manoil@nxp.com" }, "delegate": { "id": 1707, "url": "http://patchwork.ozlabs.org/api/users/1707/?format=api", "username": "scottwood", "first_name": "Scott", "last_name": "Wood", "email": "scottwood@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1479307230-16650-12-git-send-email-claudiu.manoil@nxp.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/695632/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/695632/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3tJnPG1H77z9t0w\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 17 Nov 2016 01:55:30 +1100 (AEDT)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3tJnPG0WdgzDwTH\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 17 Nov 2016 01:55:30 +1100 (AEDT)", "from NAM02-CY1-obe.outbound.protection.outlook.com\n\t(mail-cys01nam02on0076.outbound.protection.outlook.com\n\t[104.47.37.76])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3tJn4R2HzZzDvYD\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu, 17 Nov 2016 01:40:55 +1100 (AEDT)", "from BLUPR0301CA0003.namprd03.prod.outlook.com (10.162.113.141) by\n\tBN6PR03MB2467.namprd03.prod.outlook.com (10.168.223.21) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id\n\t15.1.721.10; Wed, 16 Nov 2016 14:40:50 +0000", "from BL2FFO11FD042.protection.gbl (2a01:111:f400:7c09::102) by\n\tBLUPR0301CA0003.outlook.office365.com (2a01:111:e400:5259::13) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8 via\n\tFrontend Transport; Wed, 16 Nov 2016 14:40:50 +0000", "from az84smr01.freescale.net (192.88.158.2) by\n\tBL2FFO11FD042.mail.protection.outlook.com (10.173.161.138) with\n\tMicrosoft\n\tSMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id\n\t15.1.721.5 via Frontend Transport; Wed, 16 Nov 2016 14:40:50 +0000", "from fsr-fed1764-016.ea.freescale.net\n\t(fsr-fed1764-016.ea.freescale.net [10.171.81.161])\n\tby az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tuAGEeVKe005542; Wed, 16 Nov 2016 07:40:48 -0700" ], "Authentication-Results": "spf=fail (sender IP is 192.88.158.2)\n\tsmtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed)\n\theader.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com;\n\tnxp.com; \n\tdkim=none (message not signed) header.d=none;", "Received-SPF": "Fail (protection.outlook.com: domain of nxp.com does not\n\tdesignate 192.88.158.2 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.158.2; helo=az84smr01.freescale.net;", "X-IncomingTopHeaderMarker": "OriginalChecksum:; UpperCasedChecksum:;\n\tSizeAsReceived:711; Count:10", "From": "Claudiu Manoil <claudiu.manoil@nxp.com>", "To": "<linuxppc-dev@lists.ozlabs.org>", "Subject": "[PATCH 11/17] soc/qman: Remove unused struct qm_mcc* layouts", "Date": "Wed, 16 Nov 2016 16:40:24 +0200", "Message-ID": "<1479307230-16650-12-git-send-email-claudiu.manoil@nxp.com>", "X-Mailer": "git-send-email 1.7.11.7", "In-Reply-To": "<1479307230-16650-1-git-send-email-claudiu.manoil@nxp.com>", "References": "<1479307230-16650-1-git-send-email-claudiu.manoil@nxp.com>", "X-IncomingHeaderCount": "10", "X-EOPAttributedMessage": "0", "X-Matching-Connectors": "131237808505015812;\n\t(91ab9b29-cfa4-454e-5278-08d120cd25b8); ()", "X-Forefront-Antispam-Report": "CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(336004)(189002)(199003)(33646002)(87936001)(2351001)(6916009)(50986999)(5660300001)(76176999)(104016004)(2950100002)(50226002)(106466001)(110136003)(105606002)(8936002)(6666003)(81166006)(4720700003)(81156014)(68736007)(36756003)(85426001)(626004)(189998001)(7846002)(97736004)(47776003)(8676002)(4326007)(77096005)(8666005)(69596002)(2906002)(48376002)(356003)(92566002)(50466002)(5003940100001)(305945005)(86362001)(7059030);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2467;\n\tH:az84smr01.freescale.net; FPR:; \n\tSPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; ", "X-Microsoft-Exchange-Diagnostics": [ "1; BL2FFO11FD042;\n\t1:PnnQW2Pl6ycstjkGWvBG4sR1BHkfeeWK0pd9tW0NihI9FTQkA3S6IjLsCSURMCHbBAl6I50V4YJBMII67wM7FXhIuV9f+Jic8xXZsaO/0Hr3Qml1y0+zefZSkZhgjil+1ZPUNAsYH8yUf7VLvwQto4pAVXtBVu6simUCSE/P4ye25uHZgZYCtJgQ2OTXsiWJ+cq3I4lvc0R+zx9BtVVcZmyPMnNVWd3NXxaLGQnhRRPxPDUFyR081MucgCWW8E+tSa/pNVdP1QcPw33C7ebIk3c0OG3htUMQ1OJXPJ5+sgT7o6ST5U5s89pFqkGo2Try54FkaS3u8HOzfOl/swdRZ3XSwZQ70UEaXTuyNwU4jP72n3oUfWu7VlrRkgo9yOe9FQG1q24uz4Z+4jyQm1AJ4k3qnvB6Mmw3Dgc7dubx98uOodpYYPF+SJKDR1y4DzmXJb8A6Me2AiqAI7LlqlTo+uYxg4j0t5+DiDbe2NPmZ7j7xSlWetDmEMCDJBdr82ODySEwAwra5fDq87emGj8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KLRhJ9T6GpIHBt8Ao+asmxq1bGAy0IiPg2nFeBFQrQ+1ZdCYXZW4gATJmNburKON92LzTb9AZV1oss8hnUwatUPNrlC6ZdZo/U5YJ37ieEiLHg==;\n\t5:Er42lVN1rUd7QIlYszJH4t32ohREPZiBwW2HM/ZXnYWk9KKS7l6jbpO3haC8EB8chDJ2YNULaPcQYpa6peSC520Bfqni493iG6WSP9KxnQ20Qtde7OoLBEWxzf5i7D6Gc0XNkFMTt8g9VpgDJwJWJtFgxAadPDPjgGXzmm0hcq5e82BK7GEmVUvwpwChbhSu;\n\t24:2Ew1aVj4fh0NN8sATvU/C619WBUFLeyuaeaSNxoAUUcuNcpFbRPRwyTboA+o7aGUeigsegYv9wMBhTzRYwvjgkXG8NB4SgT6R3HBALP5F5E=", "1; BN6PR03MB2467;\n\t7:Hf0pTGE/yUhuZubnFo1tAfcShHa/b+xgXrP6/Z7mYTevS6BDlTADc83Fr0gPWpK4OI7t1G9XHbINE0E6a/L5liTheG/+sg1LW9AeIYRrW3MgM/mOZhixnSSnxiaEiUydZ88fOIIa5z1rj0uAw5bvS8dB3mxs8URAfhhro59t5ZcOpKE838mgIgmDK+dx/K60qJov2rJJaSEj4C4k1QMUYS2Ja39DqAMdn6kCeI5K1ZDiusG+jmZaJkqit6mFnP9EazjrIgdcg7VsYp9JOGzCvri6EtwSEDb91AJuk8YrF+ZxtrCOirplwftoiLhF6QdFWFY4NWQ/glk7KnMEZ97IiS4DexRJeQveuNImxfHMgA4=" ], "MIME-Version": "1.0", "Content-Type": "text/plain", "X-MS-Office365-Filtering-Correlation-Id": "02f78759-adba-429f-ce04-08d40e2e8f81", "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0; RULEID:(22001);\n\tSRVR:BN6PR03MB2467; ", "X-Microsoft-Antispam-PRVS": "<BN6PR03MB24679F12329C343DA2F17F7896BE0@BN6PR03MB2467.namprd03.prod.outlook.com>", "X-Exchange-Antispam-Report-Test": "UriScan:(185117386973197)(788757137089);", "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(6095035)(601004)(2401047)(8121501046)(13024025)(13017025)(13015025)(13023025)(13018025)(5005006)(10201501046)(3002001)(6055026)(6096035);\n\tSRVR:BN6PR03MB2467; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2467;", "X-Forefront-PRVS": "01283822F8", "SpamDiagnosticOutput": "1:99", "SpamDiagnosticMetadata": "NSPM", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "16 Nov 2016 14:40:50.2675\n\t(UTC)", "X-MS-Exchange-CrossTenant-Id": "5afe0b00-7697-4969-b663-5eab37d5f47e", "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;\n\tIp=[192.88.158.2]; \n\tHelo=[az84smr01.freescale.net]", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "BN6PR03MB2467", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "Scott Wood <oss@buserror.net>, roy.pledge@nxp.com", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "1. qm_mcc_querywq layout not used for now, so drop it;\n2. queryfq, queryfq_np and alterfq are used only for accesses to\n the 'fqid' field, so replace these with a generic 'fq' layout.\n As a consequence, 'querycgr' turns into 'cgr' following the\n same reasoning above and for consistent naming.\n\nSigned-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>\n---\n drivers/soc/fsl/qbman/qman.c | 58 ++++++++++++---------------------------\n drivers/soc/fsl/qbman/qman_priv.h | 6 ----\n 2 files changed, 18 insertions(+), 46 deletions(-)", "diff": "diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c\nindex 6715485..53d9bfb 100644\n--- a/drivers/soc/fsl/qbman/qman.c\n+++ b/drivers/soc/fsl/qbman/qman.c\n@@ -183,41 +183,22 @@ struct qm_mr {\n };\n \n /* MC (Management Command) command */\n-/* \"Query FQ\" */\n-struct qm_mcc_queryfq {\n+/* \"FQ\" command layout */\n+struct qm_mcc_fq {\n \tu8 _ncw_verb;\n \tu8 __reserved1[3];\n \tu32 fqid;\t/* 24-bit */\n \tu8 __reserved2[56];\n } __packed;\n-/* \"Alter FQ State Commands \" */\n-struct qm_mcc_alterfq {\n-\tu8 _ncw_verb;\n-\tu8 __reserved1[3];\n-\tu32 fqid;\t/* 24-bit */\n-\tu8 __reserved2;\n-\tu8 count;\t/* number of consecutive FQID */\n-\tu8 __reserved3[10];\n-\tu32 context_b;\t/* frame queue context b */\n-\tu8 __reserved4[40];\n-} __packed;\n \n-/* \"Query CGR\" */\n-struct qm_mcc_querycgr {\n+/* \"CGR\" command layout */\n+struct qm_mcc_cgr {\n \tu8 _ncw_verb;\n \tu8 __reserved1[30];\n \tu8 cgid;\n \tu8 __reserved2[32];\n };\n \n-struct qm_mcc_querywq {\n-\tu8 _ncw_verb;\n-\tu8 __reserved;\n-\t/* select channel if verb != QUERYWQ_DEDICATED */\n-\tu16 channel_wq; /* ignores wq (3 lsbits): _res[0-2] */\n-\tu8 __reserved2[60];\n-} __packed;\n-\n #define QM_MCC_VERB_VBIT\t\t0x80\n #define QM_MCC_VERB_MASK\t\t0x7f\t/* where the verb contains; */\n #define QM_MCC_VERB_INITFQ_PARKED\t0x40\n@@ -243,12 +224,9 @@ struct qm_mcc_querywq {\n \t\tu8 __reserved[63];\n \t};\n \tstruct qm_mcc_initfq initfq;\n-\tstruct qm_mcc_queryfq queryfq;\n-\tstruct qm_mcc_alterfq alterfq;\n \tstruct qm_mcc_initcgr initcgr;\n-\tstruct qm_mcc_querycgr querycgr;\n-\tstruct qm_mcc_querywq querywq;\n-\tstruct qm_mcc_queryfq_np queryfq_np;\n+\tstruct qm_mcc_fq fq;\n+\tstruct qm_mcc_cgr cgr;\n };\n \n /* MC (Management Command) result */\n@@ -1777,7 +1755,7 @@ int qman_init_fq(struct qman_fq *fq, u32 flags, struct qm_mcc_initfq *opts)\n \tmcc = qm_mc_start(&p->p);\n \tif (opts)\n \t\tmcc->initfq = *opts;\n-\tmcc->initfq.fqid = fq->fqid;\n+\tmcc->fq.fqid = fq->fqid;\n \tmcc->initfq.count = 0;\n \t/*\n \t * If the FQ does *not* have the TO_DCPORTAL flag, contextB is set as a\n@@ -1873,7 +1851,7 @@ int qman_schedule_fq(struct qman_fq *fq)\n \t\tgoto out;\n \t}\n \tmcc = qm_mc_start(&p->p);\n-\tmcc->alterfq.fqid = fq->fqid;\n+\tmcc->fq.fqid = fq->fqid;\n \tqm_mc_commit(&p->p, QM_MCC_VERB_ALTER_SCHED);\n \tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\tdev_err(p->config->dev, \"ALTER_SCHED timeout\\n\");\n@@ -1916,7 +1894,7 @@ int qman_retire_fq(struct qman_fq *fq, u32 *flags)\n \t\tgoto out;\n \t}\n \tmcc = qm_mc_start(&p->p);\n-\tmcc->alterfq.fqid = fq->fqid;\n+\tmcc->fq.fqid = fq->fqid;\n \tqm_mc_commit(&p->p, QM_MCC_VERB_ALTER_RETIRE);\n \tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\tdev_crit(p->config->dev, \"ALTER_RETIRE timeout\\n\");\n@@ -1995,7 +1973,7 @@ int qman_oos_fq(struct qman_fq *fq)\n \t\tgoto out;\n \t}\n \tmcc = qm_mc_start(&p->p);\n-\tmcc->alterfq.fqid = fq->fqid;\n+\tmcc->fq.fqid = fq->fqid;\n \tqm_mc_commit(&p->p, QM_MCC_VERB_ALTER_OOS);\n \tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\tret = -ETIMEDOUT;\n@@ -2021,7 +1999,7 @@ int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd)\n \tint ret = 0;\n \n \tmcc = qm_mc_start(&p->p);\n-\tmcc->queryfq.fqid = fq->fqid;\n+\tmcc->fq.fqid = fq->fqid;\n \tqm_mc_commit(&p->p, QM_MCC_VERB_QUERYFQ);\n \tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\tret = -ETIMEDOUT;\n@@ -2047,7 +2025,7 @@ static int qman_query_fq_np(struct qman_fq *fq,\n \tint ret = 0;\n \n \tmcc = qm_mc_start(&p->p);\n-\tmcc->queryfq.fqid = fq->fqid;\n+\tmcc->fq.fqid = fq->fqid;\n \tqm_mc_commit(&p->p, QM_MCC_VERB_QUERYFQ_NP);\n \tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\tret = -ETIMEDOUT;\n@@ -2075,7 +2053,7 @@ static int qman_query_cgr(struct qman_cgr *cgr,\n \tint ret = 0;\n \n \tmcc = qm_mc_start(&p->p);\n-\tmcc->querycgr.cgid = cgr->cgrid;\n+\tmcc->cgr.cgid = cgr->cgrid;\n \tqm_mc_commit(&p->p, QM_MCC_VERB_QUERYCGR);\n \tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\tret = -ETIMEDOUT;\n@@ -2526,7 +2504,7 @@ static int qman_shutdown_fq(u32 fqid)\n \tdev = p->config->dev;\n \t/* Determine the state of the FQID */\n \tmcc = qm_mc_start(&p->p);\n-\tmcc->queryfq_np.fqid = fqid;\n+\tmcc->fq.fqid = fqid;\n \tqm_mc_commit(&p->p, QM_MCC_VERB_QUERYFQ_NP);\n \tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\tdev_err(dev, \"QUERYFQ_NP timeout\\n\");\n@@ -2541,7 +2519,7 @@ static int qman_shutdown_fq(u32 fqid)\n \n \t/* Query which channel the FQ is using */\n \tmcc = qm_mc_start(&p->p);\n-\tmcc->queryfq.fqid = fqid;\n+\tmcc->fq.fqid = fqid;\n \tqm_mc_commit(&p->p, QM_MCC_VERB_QUERYFQ);\n \tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\tdev_err(dev, \"QUERYFQ timeout\\n\");\n@@ -2561,7 +2539,7 @@ static int qman_shutdown_fq(u32 fqid)\n \tcase QM_MCR_NP_STATE_PARKED:\n \t\torl_empty = 0;\n \t\tmcc = qm_mc_start(&p->p);\n-\t\tmcc->alterfq.fqid = fqid;\n+\t\tmcc->fq.fqid = fqid;\n \t\tqm_mc_commit(&p->p, QM_MCC_VERB_ALTER_RETIRE);\n \t\tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\t\tdev_err(dev, \"QUERYFQ_NP timeout\\n\");\n@@ -2656,7 +2634,7 @@ static int qman_shutdown_fq(u32 fqid)\n \t\t\tcpu_relax();\n \t\t}\n \t\tmcc = qm_mc_start(&p->p);\n-\t\tmcc->alterfq.fqid = fqid;\n+\t\tmcc->fq.fqid = fqid;\n \t\tqm_mc_commit(&p->p, QM_MCC_VERB_ALTER_OOS);\n \t\tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\t\tret = -ETIMEDOUT;\n@@ -2676,7 +2654,7 @@ static int qman_shutdown_fq(u32 fqid)\n \tcase QM_MCR_NP_STATE_RETIRED:\n \t\t/* Send OOS Command */\n \t\tmcc = qm_mc_start(&p->p);\n-\t\tmcc->alterfq.fqid = fqid;\n+\t\tmcc->fq.fqid = fqid;\n \t\tqm_mc_commit(&p->p, QM_MCC_VERB_ALTER_OOS);\n \t\tif (!qm_mc_result_timeout(&p->p, &mcr)) {\n \t\t\tret = -ETIMEDOUT;\ndiff --git a/drivers/soc/fsl/qbman/qman_priv.h b/drivers/soc/fsl/qbman/qman_priv.h\nindex 59b4b46..5606d74 100644\n--- a/drivers/soc/fsl/qbman/qman_priv.h\n+++ b/drivers/soc/fsl/qbman/qman_priv.h\n@@ -90,12 +90,6 @@ static inline u64 qm_mcr_querycgr_a_get64(const struct qm_mcr_querycgr *q)\n }\n \n /* \"Query FQ Non-Programmable Fields\" */\n-struct qm_mcc_queryfq_np {\n-\tu8 _ncw_verb;\n-\tu8 __reserved1[3];\n-\tu32 fqid;\t/* 24-bit */\n-\tu8 __reserved2[56];\n-} __packed;\n \n struct qm_mcr_queryfq_np {\n \tu8 verb;\n", "prefixes": [ "11/17" ] }