Received: by 10.223.185.116 with SMTP id b49csp5471647wrg; Tue, 27 Feb 2018 14:03:15 -0800 (PST) X-Google-Smtp-Source: AH8x225/q+rmJ0J38RcI12fNaFrJQj/R93cEq7BH3YxUUK9NPyqRTotpjcJtDdEi1sBiKTI0WWxa X-Received: by 10.98.11.19 with SMTP id t19mr15573413pfi.70.1519768995600; Tue, 27 Feb 2018 14:03:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519768995; cv=none; d=google.com; s=arc-20160816; b=d/kH0WWEuByw5IZRKQYuirpUQx3xAC9ifsNKxRmHCksIxB5Euiluj4sUenSsx2CawB tu28AEI1U7ihep1VxRO0zdjH2xyyD6Sxsf2l8gwJLo3vfOMJeQhsrLXNJc3L7PtyNPem N7XtlYajOjW1yRQiKdkinEDL5XwoaXFYROZyFNgmRm4GHOuYqkdJ0S8iCuJaqimKV4jh 2ZxDGZjHSOYqcikK0I8NoGqlKFEMiJlOdDsANiaCtgy8/b0rgqeX+s4lF1OKzVZg6xuQ zLCwkj94s0GTeGnVliwtRIDXXpg/9l/ELKJzJwi0b9EvK6x6ki5jojKCEyGRVyXwO+ja v6bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature :arc-authentication-results; bh=yxNfpMZIcjUfmkfuwwdutDrIk0CIsXYFR7BgQQYyYEA=; b=aQlRRN0DSWfwCOUn7LUg6q5pHh/nKqg2J77VW7f9wG+wze7yzAk2lCjG5u5Cd1uMJ/ 2t2xo9HI1xH085zaaCJnHpuILYOKtT0CCWuOUpsV3ra1M/6JsGF8GcFaTrkM+i/VGZ7G iA4Z3/Y5EqygbEunIvrGOy5n2/shVXbNLuIoqPrJRXkkjZRt8B1EpngPVzxSym3UmjR5 JE/iXrMUI5MhyzXQ4bDTMOqI5jzo+oGMVoysezgxT9uy10H+ITkT1e9kwO5UbtbW5+3+ /nCQL2NZni5r9EKZzkrmCJKPX61iXyfXzXMyeI7LZUn79hu0+d77VPZe2BN4wEFk3sSP qc6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=jGZkl1rF; 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 m5-v6si135400plt.235.2018.02.27.14.03.00; Tue, 27 Feb 2018 14:03:15 -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=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=jGZkl1rF; 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 S1751927AbeB0WCU (ORCPT + 99 others); Tue, 27 Feb 2018 17:02:20 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:39164 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813AbeB0WCP (ORCPT ); Tue, 27 Feb 2018 17:02:15 -0500 Received: by mail-qt0-f194.google.com with SMTP id f4so508678qtj.6 for ; Tue, 27 Feb 2018 14:02:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=yxNfpMZIcjUfmkfuwwdutDrIk0CIsXYFR7BgQQYyYEA=; b=jGZkl1rFdg3hXhAutpGetqfIx6dlnyx/5leSK3eMxVfKjWXNQeA2ms2PAm1ksZL3LZ ugudANgkz8cfSxZfbvQL/lqKyD7BnY9P7cijpk/Vr7qmTv/RNHvt8cZVNllCAnUJios2 4jgwVQ2LtnJLiitynfVaJ1UCX0rUsL8Gc9PjdXoGrszAa3c2SL2ZnPcf6WFZGkDEaWll SwQlnINPPkuFo37+whxMZyfq/p0uyJGdwvADHj6puy/Rv5CLds4V7CR8/wxf4rcRGhmL kJxOmLVRkTO3q/FeLSQ3Vcn25H1f6LWVimnkbfr7+3QslFQx+S/C1uYMsU9ri/lCRcsn VCUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=yxNfpMZIcjUfmkfuwwdutDrIk0CIsXYFR7BgQQYyYEA=; b=FcaZHcNX2INXuXjMUmy1XaMtLIotQ7xXoGxlzijqxhbzvyjTKGi4/PVeCcuYFcLbAS Lpp8SSrVOa3BFM9ieUAAj8ZJ5K4X6U6Ir97bVeyG+KFVwyOJpKrrJ7U2P+SRExas55/D Dy5aVC10vGP95lkxELEp54MN0XYLTxpXbJB0IDKeknzjV8PybCXnWnfg1gLcflidt5wk TJzjoNUJvYEVuukOmw3/NdBuxsK6PULQLVaMzYdIYXd+ntOJhwsaWzrLmzHFGvtz9iMY Fc8Jbf4ZCeIM0yqaWBZMsCF9fAeLGxFfgPt4HILNkl0yLy+B5UkD6lkmuPmukXchf4/u CNJQ== X-Gm-Message-State: APf1xPDSqsC0hQ3K/sHaL88xpwGBf3wIzU0WHccYemLhRujVQEQ9Zx6q EUwc8rkYJRoK3BemvGeNWolEAA== X-Received: by 10.200.2.142 with SMTP id p14mr26566678qtg.229.1519768934541; Tue, 27 Feb 2018 14:02:14 -0800 (PST) Received: from hlaptop.cpe.express.com.ar ([200.3.222.253]) by smtp.gmail.com with ESMTPSA id g124sm116514qkb.67.2018.02.27.14.02.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Feb 2018 14:02:13 -0800 (PST) From: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= To: herbert@gondor.apana.org.au, davem@davemloft.net, hernan@vanguardiasur.com.ar, steven.lin1@broadcom.com, arvind.yadav.cs@gmail.com, colin.king@canonical.com, raveendra.padasalagi@broadcom.com, ray.jui@broadcom.com, scott.branden@broadcom.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] crypto: bcm: Remove unused variable (char *tag_to_hash_idx[]) Date: Tue, 27 Feb 2018 19:01:25 -0300 Message-Id: <1519768888-19866-1-git-send-email-hernan@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Note: this is compile only tested. Variable was not used anywhere in the code, remove it and save 20 bytes. add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-20 (-20) Function old new delta tag_to_hash_idx 20 - -20 Total: Before=9185256, After=9185236, chg -0.00% Signed-off-by: HernĂ¡n Gonzalez --- drivers/crypto/bcm/spu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/crypto/bcm/spu.c b/drivers/crypto/bcm/spu.c index dbb5c03..c3d177d 100644 --- a/drivers/crypto/bcm/spu.c +++ b/drivers/crypto/bcm/spu.c @@ -23,8 +23,6 @@ #include "cipher.h" /* This array is based on the hash algo type supported in spu.h */ -char *tag_to_hash_idx[] = { "none", "md5", "sha1", "sha224", "sha256" }; - char *hash_alg_name[] = { "None", "md5", "sha1", "sha224", "sha256", "aes", "sha384", "sha512", "sha3_224", "sha3_256", "sha3_384", "sha3_512" }; -- 2.7.4