From patchwork Fri Nov 2 12:14:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 10665367 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B59517D5 for ; Fri, 2 Nov 2018 12:14:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32E0C2AECC for ; Fri, 2 Nov 2018 12:14:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23B042AEEB; Fri, 2 Nov 2018 12:14:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FDF02AECC for ; Fri, 2 Nov 2018 12:14:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726099AbeKBVVw (ORCPT ); Fri, 2 Nov 2018 17:21:52 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:41944 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbeKBVVw (ORCPT ); Fri, 2 Nov 2018 17:21:52 -0400 Received: by mail-qk1-f193.google.com with SMTP id 189so2608854qkj.8 for ; Fri, 02 Nov 2018 05:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev-mellanox-co-il.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=CjoZOfLcSFzMl2Cm9gGpeUTydAuuulVgdZ2FUXYG7uM=; b=jhFRknJ7iFPs0DNq8YLSPIvYp/jPao6gsQj2khOY/fOavDhqn3hbzFe+1Bm4jgPFrF pbykKIWKkpI3gm2wXC8m047zIFTT+P7KIV4YM5NNwjKgHWvYtt0fEa+HWoc6UEKX0ere UGx1aAQkI5vxKu7t13dhpY1FrCv4eXfsaZYGulyR2IIIpjAexqaP93vxHnlgnEG36RNz IwD1U0dH70vkw+5sFqiOFhu27GQF9Zafk6pEPyQup6OCpgO5Tj8cLf0KAhraLYobCAOG R2GiePUXgR0sK9qTckwUodVp3CBeXsY+eSbk+ldz6mStoMBzhoP5AodWgPFpAsdRFgyP hETQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=CjoZOfLcSFzMl2Cm9gGpeUTydAuuulVgdZ2FUXYG7uM=; b=a1GO6DSASIbm1cuVc0W8P3Pc+VTgee95u0NPyE05OW9h6Vo/2qOyx2VL6JiPe1o1vj XO6JQ7vEFgwRNXmhdNPCoJv2pbJeGg9nkVCiM/l3MRb0QR4iQkIw3oRxY8pKzKgHZtTh 9piaUHgxxCq1f5ZW6OETY+qoUX1zf+BBaNDdegv7rTXCNiDDzh+W5SRtcrYW6jrxtKwL xnaxNqY1hva0hKZxivLtpKhejOmVstbtF8TPtpxOBOrEI3rtRQ282yashyL08zitjTJ5 3grSb7fKgiNif6Gpm8bo1thOpB0FWrtnzNPMprrCpLpNM+u4sUeRW0N39IYc2uguyWQl BwQA== X-Gm-Message-State: AGRZ1gItt342EmUHDk1d87Rmkmkuejx453vyZC1e9lm8U2UadG2OEnOJ 5WaexJXgl5Nid8Ryg0tn9J2T/b89Yk8= X-Google-Smtp-Source: AJdET5eISK/ZNbnL2MXzzf/YuXDp0gbsNlQGwfFe6vG/EN7j/giB2ne6h9uowAd190ahrOO7ISeVJg== X-Received: by 2002:a37:298f:: with SMTP id p15mr10207079qkp.327.1541160892469; Fri, 02 Nov 2018 05:14:52 -0700 (PDT) Received: from [192.168.1.119] (c-73-142-227-196.hsd1.ma.comcast.net. [73.142.227.196]) by smtp.googlemail.com with ESMTPSA id i65sm32079951qkh.49.2018.11.02.05.14.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Nov 2018 05:14:52 -0700 (PDT) To: Honggang LI Cc: "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCH opensm] complib/cl_event_wheel.h: Eliminate unneeded field in cl_event_wheel_reg_info_t Message-ID: <400e729f-b981-d092-1637-5022ee50f87f@dev.mellanox.co.il> Date: Fri, 2 Nov 2018 08:14:50 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In event wheel registration structure, p_event_wheel is not used Signed-off-by: Hal Rosenstock Acked-by: Honggang Li --- include/complib/cl_event_wheel.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/complib/cl_event_wheel.h b/include/complib/cl_event_wheel.h index 4883353..956fcfa 100644 --- a/include/complib/cl_event_wheel.h +++ b/include/complib/cl_event_wheel.h @@ -189,7 +189,6 @@ typedef struct _cl_event_wheel_reg_info { uint64_t aging_time; uint32_t num_regs; void *context; - cl_event_wheel_t *p_event_wheel; } cl_event_wheel_reg_info_t; /* * FIELDS @@ -214,9 +213,6 @@ typedef struct _cl_event_wheel_reg_info { * context * Client's context for event-aged callback. * -* p_event_wheel -* Pointer to this event wheel object -* * SEE ALSO *********/