Received: by 2002:a05:6504:5087:b0:1e5:d399:13c4 with SMTP id i7csp10762ltq; Mon, 3 Oct 2022 23:20:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5SQiUItueE5/4yurQGV4xBUdV4DOokc49iljTgtwFFVxJxYgsk4bclN2bu7s/+i3mE45XF X-Received: by 2002:aa7:cd4f:0:b0:458:6077:c3ac with SMTP id v15-20020aa7cd4f000000b004586077c3acmr18564665edw.32.1664864421368; Mon, 03 Oct 2022 23:20:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664864421; cv=none; d=google.com; s=arc-20160816; b=K8Qbi3W4aiDUeBBn/bspBJA2437VlAnwtftwkPhxyF1OcfiGr4CEnKcIByrUgdKxBQ 8L8D/FAsyLehoWMADBGCrJ9NF6m8kRJfRdKGJ8sXGvFLHA+euig2aIuthl1HxIHhxC2n CUYOLNJ7kchE4ZeG08DRZX/47782rjMsQ7h6dIdbd0Swkcp+ZpcZP/J9LcxgKkjRkR7u 1No3ba7TfGzvJo6Tpx1Li/cPAKg194BwmtqrlkTcoDclZzklV7fyWjAcCXPTpHlIscsH k7r3UkzOP3v87om2P000ae/oLEXOMAn7CPt//Q3oq4WtgQfAejLZLLd+cOEUIgxvZ8HK QnZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=zn4KgLrbrsg07djtEW13WewA5/R3t4N3KUlWt5rPs84=; b=WnNFi5LUH5tunJLKqaWhicC588GFnUbvGFhqsqDireEh2+dsLTcqfFA7Ty4PsLckNr J8xEr2eUVYNaW6ELpnTz21O6prLMZbcI+2MqVht+3LfAfOd1irl/AAk0l3+YWYmxgUqu bCUxAwtqhI36pP3u9pGBOzZBDPi+AMSnbS5MDoUI1UV34VoYFYPDnuJi1MlxfcROK44r MUX2MhuE/+NvxABwe7nPfQGiBxe1/2+wDe3VrV96HhvezpF/bjGDpLRK3v7k9IFKsq8G RXwiMj+B3iHpe+qnWtWRWsEWhX08K1VSSVHq9K+HywrUHtK6k2eU8Ivf5tX6g4Rtc89n STpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=K1m2srGC; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Thifiipq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd16-20020a170907629000b00787b9cd2fe3si10224609ejc.844.2022.10.03.23.19.20; Mon, 03 Oct 2022 23:20:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=K1m2srGC; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Thifiipq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229596AbiJDFxn (ORCPT + 99 others); Tue, 4 Oct 2022 01:53:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbiJDFxm (ORCPT ); Tue, 4 Oct 2022 01:53:42 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E860233A3C; Mon, 3 Oct 2022 22:53:40 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id A3BB31F8F7; Tue, 4 Oct 2022 05:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664862819; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zn4KgLrbrsg07djtEW13WewA5/R3t4N3KUlWt5rPs84=; b=K1m2srGCZ80Yn33A5rS+9RqwtlBf95Hbf0YH/3817NpL6gNd2uwyU8bYJ6ipUWCHMPbUfm XUAi1vJGf2zNTNQUpql6mTrQawnn/5MUE3HOZFgTmOgZkef7ua3PDF2tsTcMdlw1i5QwxU v+EH501Xt+GvDA4uP/yfTvPhnKkiMrA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664862819; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zn4KgLrbrsg07djtEW13WewA5/R3t4N3KUlWt5rPs84=; b=ThifiipquZ6eRCOnYl0pbP+YWKa+PpJF3+Tg7zonHMSVriqE5Gm4YJj9VN8sP024CT1Byt 6XAzLhjPZib69pDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6659213A8F; Tue, 4 Oct 2022 05:53:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WSZTGGPKO2N6DgAAMHmgww (envelope-from ); Tue, 04 Oct 2022 05:53:39 +0000 Message-ID: Date: Tue, 4 Oct 2022 07:53:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v2 5/6] scsi: mvsas: Delete mvs_tag_init() Content-Language: en-US To: John Garry , jejb@linux.ibm.com, martin.petersen@oracle.com, jinpu.wang@cloud.ionos.com, damien.lemoal@wdc.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, ipylypiv@google.com, changyuanl@google.com, hch@lst.de, yanaijie@huawei.com References: <1664528184-162714-1-git-send-email-john.garry@huawei.com> <1664528184-162714-6-git-send-email-john.garry@huawei.com> From: Hannes Reinecke In-Reply-To: <1664528184-162714-6-git-send-email-john.garry@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/30/22 10:56, John Garry wrote: > All mvs_tag_init() does is zero the tag bitmap, but this is already done > with the kzalloc() call to alloc the tags, so delete this unneeded > function. > > Signed-off-by: John Garry > Reviewed-by: Damien Le Moal > --- > drivers/scsi/mvsas/mv_init.c | 2 -- > drivers/scsi/mvsas/mv_sas.c | 7 ------- > drivers/scsi/mvsas/mv_sas.h | 1 - > 3 files changed, 10 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman