Received: by 10.223.185.116 with SMTP id b49csp6664226wrg; Wed, 28 Feb 2018 13:17:51 -0800 (PST) X-Google-Smtp-Source: AH8x225Y+dL6I9twOIDEDycApYpY4BeIeX3bnnqF+a4PNLAM1h6A27u86CKZ/Fm5KfBGCetV+zMr X-Received: by 2002:a17:902:8691:: with SMTP id g17-v6mr19617570plo.446.1519852671861; Wed, 28 Feb 2018 13:17:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519852671; cv=none; d=google.com; s=arc-20160816; b=yG8V9yFvORsgHlnxJoFKwbO0C44dtSS4+zskFwOm6ilPbEWsMB8RQcTD6SjzuvOwce RvJJOmAnfEal4u4qSRNn72oaGzV6bt2uo7y907gCSN23P2PnI6QKIh4vWc1urRIlE7S0 56+yWUpNKcDhcEKVkYwoLBzvOffqtSxccB7i1KyLX75qM1uAqWV//kQOArcKHN1ldZa0 Z+X0AfBPlX2YdvR4MIJDNpjQrqRZ+bAhL5SpjsM8uHSG11/lXR2Tsl1WCyX7MQ7mmC6a h7SpCYcsyb4JY4HP5HZEWiuYh51TmKPVUBZ2M5+sxjdZAzxaPjT5orZUVrNdujFxI8/L YLxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=yARmAlJVrPC9AKZttBikM7lxMNgiZpKu1RmIZRF+mzw=; b=STldCH+6JVwdlF4MfhJgDpt625Pp/3iRJOyGQGbi7JjTDtuv+HC9dnMo+dcV8Kxh0d SURHKy/p6qKoA6Z+zQGqHPbnF6C19a1jDH+YQ83ISyvBuKec3uPR8rvSdidLHAbgim6Y O/wXvxZ6u826xH3A3c88S/xd4ohoR5Lklc0rW5xc/daI5ggqtCxLCSSJ3en9whHg9kRx 1OEsU76y3qNKyncs0z7Sg2E3IOPb5KlD6ytN/pHanNVDK+BDxzGSLOjT8JF6jH25rY/j XZGOQ2lxBIKL/AZ/dz4Z0cGwL7krR1V9Pq4x+vcQXFMOIbtbmBHTaY/BIFrMj8jwym2R Q3qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=boPqS5A/; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18si1478375pge.300.2018.02.28.13.17.37; Wed, 28 Feb 2018 13:17:51 -0800 (PST) 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=@ziepe.ca header.s=google header.b=boPqS5A/; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934994AbeB1VQh (ORCPT + 99 others); Wed, 28 Feb 2018 16:16:37 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:40826 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933018AbeB1VQc (ORCPT ); Wed, 28 Feb 2018 16:16:32 -0500 Received: by mail-wr0-f196.google.com with SMTP id o76so3918426wrb.7 for ; Wed, 28 Feb 2018 13:16:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=yARmAlJVrPC9AKZttBikM7lxMNgiZpKu1RmIZRF+mzw=; b=boPqS5A/InAoDmFWvKFbTnxMC3pZw0XONOc0IA+waRYBk22tDg7VsvtjuCuH8YHTdm CUbUBHrLWjTsHeaepMKVR9O4agMosLmFE9H9/louFVpoyVzyJoe0ogodtSYuQNSoAAEI 47lavJtEchYTVdp4JnaUpo4Ky5OI3jfQMZGxsky2gwBL3TQEzN8ZN2IRxMJ68zRmevEL MQbqSspgj0/TAwJwg0TPiVS39Wym9mSUa/zmNITtrGrW84loTN0HMe10IuFWB6/BXyV9 djIAIQeAHEi+KjrfmOHO6tBrMEygnFglDlERVf9UVKUGCgKAuBkyIb8dppfTKMPVsm2p RqSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=yARmAlJVrPC9AKZttBikM7lxMNgiZpKu1RmIZRF+mzw=; b=BcoUiaLZ/nh/rLQZHax0+7aVW1V42hv1SRnPPvdEKI41e1TnNELWIBXCh2oiwTmeQf i9YqbVf+koUHjirTgRasPd9VH5kcTkPUnV3GtiiXaL2vfPyj7ptCbg5JI3HBb/s27BZ6 gy6JNWmVgHr0axV1OM6q9U7HKsNuW9GNxTs3Gn31PmUprARHhkaBmfXb8pEcjhrBX+WZ S9MijPJRdEf1WF0cTumWbRdA5rAQ+jd5ApJkWVlwVyOdcbq5x6xk7f06IzlNyIUZwNH+ rhj29PLpFBy8C4rkDVss6lUxHa8890CazeMpWVJf3KT5eX427KhvavCAvMHZyijH1jHd ebUA== X-Gm-Message-State: APf1xPCCIKgVaF2IPxqC+Ljf3O+KHPTSWW7xiAg/dbD7kAeWZVbP7PGz mC2SdxIPkkGuzdubypDNoIuiJg== X-Received: by 10.223.133.182 with SMTP id 51mr15859398wrt.226.1519852591821; Wed, 28 Feb 2018 13:16:31 -0800 (PST) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [70.74.179.152]) by smtp.gmail.com with ESMTPSA id 55sm3744829wrw.87.2018.02.28.13.16.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 13:16:31 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1er95Q-0003Wy-Kn; Wed, 28 Feb 2018 14:16:28 -0700 Date: Wed, 28 Feb 2018 14:16:28 -0700 From: Jason Gunthorpe To: =?utf-8?Q?Hern=C3=A1n?= Gonzalez Cc: monis@mellanox.com, dledford@redhat.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] IB/rxe: Remove unused variable (char *rxe_qp_state_name[]) Message-ID: <20180228211628.GG13394@ziepe.ca> References: <1519769278-20094-1-git-send-email-hernan@vanguardiasur.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1519769278-20094-1-git-send-email-hernan@vanguardiasur.com.ar> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 27, 2018 at 07:07:58PM -0300, Hernán Gonzalez wrote: > Note: This is compile only tested as I have no access to the hw. > This variable was not used anywhere in the code. Removing it saves 24 bytes. > > add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-24 (-24) > Function old new delta > rxe_qp_state_name 24 - -24 > Total: Before=3348732, After=3348708, chg -0.00% > > Signed-off-by: Hernán Gonzalez > drivers/infiniband/sw/rxe/rxe_qp.c | 9 --------- > drivers/infiniband/sw/rxe/rxe_verbs.h | 2 -- > 2 files changed, 11 deletions(-) Applied to for-next, thanks Jason