Received: by 10.223.185.116 with SMTP id b49csp500300wrg; Wed, 14 Feb 2018 02:24:44 -0800 (PST) X-Google-Smtp-Source: AH8x226i0LCZj76DEKhfYlEZyN81TRyEUnJm37Srl2INiPLzg6jIhm1UHy5DuclV2g4j/7gozi7b X-Received: by 2002:a17:902:684:: with SMTP id 4-v6mr3988344plh.262.1518603884829; Wed, 14 Feb 2018 02:24:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518603884; cv=none; d=google.com; s=arc-20160816; b=Wwam41VkfPfCTQBLW3ua5Cicdbbv+E+MIHEH7YbZjDBa/rJe4eko6seRmibcVsF887 cX0COn+J4xoWR9NUa6dejerBs74MafIgcdTly+EMsLNwiYZ9ljm5S4VhdGI3J3GvLWD5 hF11hkSJUV4AzxuO5tFgF6lnUMRI9EqLaP1QveSGAAGj6fDym3H+a/12f2TWgpcVYHVW 74Y1UED+HVby/7AvOkXVDHeLbrAlqeR5epYjOtHgCpI5UlgiZeW02dE+F+kHt1CNVxhZ 72h6quVmIW0lt/rrTMRwQoq0zHrdv05M9O8PeQNm956RtwW6euCLJRJiuHApEtkyce0/ Vp4A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=CKzBFUVvN1aXB+nqtZi2A1aFPVUL7j0v6P+hsfW4eP8=; b=0XyzodFt6FC4e2ORva3xVqIrUJTIn9U6gAjP6zgO2czP487G7oTjCDgTiW1/WrZrGJ EDeOk/JtKpGWqD/C6F499PvyFm/hl4aQb8ZN4g+6AIIom7RXjOkWXCjDUkHeKvZ+FqGF pozBhump0xFjP9ocwfsqZ6kOQB+49pTjSitZPN2C28tK7UvX1WbuCzvwNLPCBnaO5Ozk kLCCeQRDW+ecgK3CGQ+qX3bg67bdt5D+ejLShqXwNo72AsqZbsBxzp3fFUAKQdaqSx5l dSPCXAd1fDxZaSgWjtsaEPxS3mfnY9QIUfZCAdiohJxrIGRpDMIQmkpeNp9lURWsmyOl gf6g== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a73si1004980pfe.234.2018.02.14.02.24.30; Wed, 14 Feb 2018 02:24:44 -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; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967184AbeBNKWm (ORCPT + 99 others); Wed, 14 Feb 2018 05:22:42 -0500 Received: from mout.web.de ([212.227.17.12]:33111 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966996AbeBNKWk (ORCPT ); Wed, 14 Feb 2018 05:22:40 -0500 Received: from [192.168.1.2] ([78.48.82.239]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MKIv4-1elLyV3vPi-001kjD; Wed, 14 Feb 2018 11:22:30 +0100 Subject: [PATCH 4/4] crypto: ux500: Delete two unnecessary variable initialisations in ux500_cryp_probe() From: SF Markus Elfring To: linux-crypto@vger.kernel.org, "David S. Miller" , Geliang Tang , Herbert Xu Cc: LKML , kernel-janitors@vger.kernel.org References: <20dcb583-5455-b5b9-94df-db9d1e21931f@users.sourceforge.net> Message-ID: Date: Wed, 14 Feb 2018 11:22:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20dcb583-5455-b5b9-94df-db9d1e21931f@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:I3dD7zDFNpbf2dUuifjIgP9nbJwfo6LkRD0qZgTbMLy6JQ60wz5 akZUsd8DxNH0kpU6SQuzTUTRaijsW11q3Jm3X6L+Kfrbx/VoJbm3ZQB6nHHM8pkDJINxnxD p/DvPjmPNCEquefL/qmJJoa06Cu/UjffBjIl2oKqsJYXAPsHjb1GQFZGKZVkXzCMDpTk5MH h1oEsk+5eBpIZRQcFgTrg== X-UI-Out-Filterresults: notjunk:1;V01:K0:nvrNXJIE0Wg=:9pIBBK48zZcjW4KWx5aJXj wLAr/43u/Vf1PEYP7MptuCLkM1DxEz2I9ZcBf36U7cFR2Cqxnj2G+BhFV6WeWJSn5OfctLCMn 2+Q2ea9mViGe8UuglAyufWh5H3cTZlvLzQSGnvVcIdxWPykZylJTcmr2u5stW4cfzINKU4r+P DXd2J5UCOnhVBrNL6S0Kh9Npmq+X1/fPzcUnlsa3iukoOlGHWBKoHu/vVmJEvWQRAFHofj8RP nu3Fmq+7P8+5cfDMZGunr5UsC4S4HW9upOlSoGYiMS1+35Ag5D26aCpG+RNfJ4F7ogNZPTGpm wGMhtuKYmIMiVvrhBBXtjq/9bsRbYUGYVd7l+9uVwwy684L1apMLlSbfJFIG2Sq28GhjkayVm S0Ge1gWnAV42xeefJvnEFm/LuPagsg6t4JJ3PXd6ruCsc09YraiSXKB+XwN3aimkgaM4hUX36 7CBCKeYbo1Vx9Y/0owUWjKoa9D1D72t8CrXfb4zLZHJb7tQ2uMC3Y6d9GXBWat5ISWqHjt9H4 AVKLH3l2LzaDLVYOOttXr+cQV1ffRJ8MwrBjvX/00a+2CsLgdW11qyZ5IOrWl5k0Lx7svpwhj On3gHgsXRbPHt86CcR7bEdZ8fUGXXNewbWpZMua5GuuYdqU6qxd8d+leJl9haschvd9iEH4jU uQG30hWA6JAi8vZK7nloH4gQqkLPXz9jSjBD/vM9+ukT8r/ZCYkIKNS2yGQ2VCRZ3Jv63VaYJ LRWRP4DlnwschnA7IjGYUU94RpEVTYGKpG2dXY1hCi5n2Fyel/wee72UE+GkJvnmJG1YUVkyR ZFcjHAwQd9qEuYL8bfl0fpRq3EA8BcJCaJsrlfK9Pd5sQ6tD7s= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Wed, 14 Feb 2018 10:56:38 +0100 Two local variables will eventually be set to appropriate pointers a bit later. Thus omit their explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/crypto/ux500/cryp/cryp_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 7c811d7eb274..cb31b59c9d53 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c @@ -1404,8 +1404,8 @@ static void cryp_algs_unregister_all(void) static int ux500_cryp_probe(struct platform_device *pdev) { int ret; - struct resource *res = NULL; - struct resource *res_irq = NULL; + struct resource *res; + struct resource *res_irq; struct cryp_device_data *device_data; struct cryp_protection_config prot = { .privilege_access = CRYP_STATE_ENABLE -- 2.16.1