Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4513084ybp; Mon, 14 Oct 2019 05:59:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwa5Z+xJ2MH8zz5h/3s5cKqzLo2eX1vZ6ifC6zrhBTxTVQvNq2R+bU0YJ7Kx3VaR3hkov94 X-Received: by 2002:a17:906:5007:: with SMTP id s7mr28808395ejj.181.1571057976301; Mon, 14 Oct 2019 05:59:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571057976; cv=none; d=google.com; s=arc-20160816; b=UIK/mZA01wvpopd6ncwbRGAPppPEtV/UutCI4oQiZEhXmnkE/wEieMhN2gT9KuZF0l RO9z1yhTsEqtf39hlPTB5ARWUYXyvVNNEf3Kk73k52o5i5bHNijbLq5TNZDdqrTRGpdO zG3zii/Kf/9gOKRE4ijwmHRitzgynG6SRoEpTIUJGNk4f0eUlgIbrxkZykpAxGTOielG fwH+lCf5MgUysaznw2TEeQfP9P3HgwxI1Pl0u6EDJNr1rGbH/kmQtG5WhF8GtVa/jNKP Fw4Xkpc52mvrNcC/nscsN+fK5LZi42yu+bjJi8VuS7j2JLHbn4uMoJfTTiGPZ/ZKFYYI 65VA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=WtD+83p4yyMiSfdpiz82scK9NvivEcYh4EVuo56jSYqqPI6eQRn7kvFhBrQWmTth8A WapwPadqzKQACUph3o+jTtzCFFkvQfJDF67hLyHysG2sFmeLQVDlA9ItwGGHD+RGcmaE OvxWIIAuyk1d8OMEu53P7bfa7OnRjlsKiorwTYPdf45VjMY9/U5fNPlP57Pljp1kb3TG rl1oGDejZDT41HXT+P9eECNcIqeoh87BLZnbo/8FImEjiqsP6jpe1DgPvfaenpYFGlle skTinfreMZBXamdcxg84q4AoBTVVbNn1DqMpUUFClhqUf/66cPCtxLChZZwzFIRDFjj8 cgOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nZpjXYJn; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dc10si6530951ejb.81.2019.10.14.05.59.11; Mon, 14 Oct 2019 05:59:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=@linaro.org header.s=google header.b=nZpjXYJn; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730002AbfJNMTw (ORCPT + 99 others); Mon, 14 Oct 2019 08:19:52 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38980 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730052AbfJNMTw (ORCPT ); Mon, 14 Oct 2019 08:19:52 -0400 Received: by mail-wr1-f68.google.com with SMTP id r3so19483324wrj.6 for ; Mon, 14 Oct 2019 05:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=nZpjXYJnxtwxCKRKWxEQ0A/+tBRKo8pczz3RbQtTpz9oqHH8t36+Nnfu8MxBxi49BE 98lTuISguCQ80IBNglY4jCojSjc1lnY1ziCEJDXEZCRc666Id0e7tKid0t2aXL3xCaYH mdb66mauI690hAoJ5hwoSQWMx7iOwk49iHDqhkG8kR24QnCsFEvvv2jAREA9/S1vrO5O o11qLRpnfyGPhRcB+OU1sYfhN54glqhQy8orOcqsc6iOukW8nn59KQFTd6CgSRzie0EB 2f6k1P/K4PUrB1Q5n+GvkeldX3avoUUb5Jc27ty+SMdhgHqW/W43IBXscYxxFyYYEiMM p2/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=V7dB3TWwfEokdDWr93nc51zWXKSkX/n5sOPqOQVkqWMtLrQhwmolJJ7LUL5zuvaUEa 7zAWP5CVULIkYMCpRa/gXwfDbLEahsnd/tbC7r0RfKCTcL7f9HfdqISwvN13YqYSNEpm L8xxmG9RGOR1c2QE/CDhWd9ItvTROcUyJyv8PGou7l+lzF5mys86jEo42tp+WOrnjHqy IicxxgA9sRkN4UqKaeGBeF0Z6gkFDPedFY2maxUFlOyqUcXO44psuJ5AGuvBZF1LoixT QLH2jkEGFs9kwFCYK9d8h0udmGjTzQl//sfJDFy8IJM6VxC4LAXd4zPm3PCvSCYxFBl9 Fjkg== X-Gm-Message-State: APjAAAULOZtJqdlAyD30DSnstjl2cDQAJl6RcXk81D9JoQ0yUw1pRB06 dqLFzUlze0lF0D0Jz5nQ713uC4tPvhpK8w== X-Received: by 2002:a5d:5444:: with SMTP id w4mr9302645wrv.18.1571055590020; Mon, 14 Oct 2019 05:19:50 -0700 (PDT) Received: from localhost.localdomain (91-167-84-221.subs.proxad.net. [91.167.84.221]) by smtp.gmail.com with ESMTPSA id i1sm20222470wmb.19.2019.10.14.05.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 05:19:49 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: Ard Biesheuvel , Herbert Xu , "David S. Miller" , Eric Biggers , linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/25] crypto: nitrox - remove cra_type reference to ablkcipher Date: Mon, 14 Oct 2019 14:18:56 +0200 Message-Id: <20191014121910.7264-12-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191014121910.7264-1-ard.biesheuvel@linaro.org> References: <20191014121910.7264-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Setting the cra_type field is not necessary for skciphers, and ablkcipher will be removed, so drop the assignment from the nitrox driver. Signed-off-by: Ard Biesheuvel --- drivers/crypto/cavium/nitrox/nitrox_skcipher.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/cavium/nitrox/nitrox_skcipher.c b/drivers/crypto/cavium/nitrox/nitrox_skcipher.c index ec3aaadc6fd7..97af4d50d003 100644 --- a/drivers/crypto/cavium/nitrox/nitrox_skcipher.c +++ b/drivers/crypto/cavium/nitrox/nitrox_skcipher.c @@ -493,7 +493,6 @@ static struct skcipher_alg nitrox_skciphers[] = { { .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct nitrox_crypto_ctx), .cra_alignmask = 0, - .cra_type = &crypto_ablkcipher_type, .cra_module = THIS_MODULE, }, .min_keysize = AES_MIN_KEY_SIZE, -- 2.20.1