Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3313883rwd; Mon, 29 May 2023 08:36:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ52CJjOIxx7K7+1TuholY1ONRxR4H3HvgSZmZsVpXNKxe1Ynn3vrQRIIPETKA/4kvjrzN5X X-Received: by 2002:a05:6a00:10c5:b0:64a:5cde:3a7d with SMTP id d5-20020a056a0010c500b0064a5cde3a7dmr13217pfu.27.1685374578737; Mon, 29 May 2023 08:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685374578; cv=none; d=google.com; s=arc-20160816; b=gCOcPm/r7b8EW4FP6JQIqvpWuicdTaKdkjba2+tkUtt8w28MFsa55FbXjBlyktNP+D 1M2zUGW8PNvlbk/etQb9MwLWl8fcTC+pP9AvFKEXxSXsUegOA354ZutYT5OcRba8I+ya isNcq8gsx5gyIculTqhAH2iFU7RO9rnmkBKU/kmrYZ70Dpr2EbRg4Bn61vm9OSh742aQ nCq19Ul5G9a5XNphldPIUOJ+VnLNDMNwXDRGIui9AiJHPxQyaPe9OMyHV8pf3G31kiAB T0dF1jbHfZh/n9mJVZmKRDnR9auXEUKW0BlEh0cMOq2SlfKDJFS7s+iO/BS72kLLI81H 83fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eSBcv+NaPNMlCQs57n9r+zaM6oZYLbvvoNzuJOFQqGM=; b=0QavueVTAjorlxziutpAoJdnNd2+h1blYzjurPhvURyd6L+PVChkEVWOmaAoY6SWzI BVUlcTB2SoX2Kqm2tNajI+a3cYm3G7vg1r/2j/V7UQ5hkqxsLU/ZdoTBtFcQWa2LSEgR QiVVDEpAZVcRTjobo7sqgH+6gy7H3QhL6gIrMLEwR8rRzZ8qIMesFagCJBFbuehVlVib DOXxO+GC031SqudxBWGD2bP3nUNA4oyt+tVYE+CCOtFXrqCrC4fmV6774klpcpcEHLB8 HdDrv26zG7SBj/KQg1VsagUnddYL2goSaFvNW6m6jIL1Ci9alW4CLsQzBOorzPwNN0Xs RTbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CHLLfCvy; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b24-20020aa79518000000b0064e5f4ef6d9si92497pfp.250.2023.05.29.08.36.03; Mon, 29 May 2023 08:36:18 -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=@redhat.com header.s=mimecast20190719 header.b=CHLLfCvy; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229876AbjE2P0h (ORCPT + 99 others); Mon, 29 May 2023 11:26:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229877AbjE2P0f (ORCPT ); Mon, 29 May 2023 11:26:35 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20DCBC9 for ; Mon, 29 May 2023 08:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685373950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eSBcv+NaPNMlCQs57n9r+zaM6oZYLbvvoNzuJOFQqGM=; b=CHLLfCvyz53r97LCS6buPc9/PFiCPFE+8UF28lLZgSZQuzlQMGlHPkxGex9z6fKC4INf7p 6cv5UQHWt2TweBlH7gMr019WT05eI2zi9Xnex2B5GHDuICJ8zCW5vJmpxKWfDs8BjwqMcN 6zUfjfVAo9PRKcTPz/OhDbRrt+xD9+I= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-100-XH7gUsQvNB-qQ486QlxvLg-1; Mon, 29 May 2023 11:25:45 -0400 X-MC-Unique: XH7gUsQvNB-qQ486QlxvLg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 66225811E78; Mon, 29 May 2023 15:25:45 +0000 (UTC) Received: from localhost (unknown [10.39.192.115]) by smtp.corp.redhat.com (Postfix) with ESMTP id E1A5040CFD45; Mon, 29 May 2023 15:25:44 +0000 (UTC) Date: Mon, 29 May 2023 11:25:43 -0400 From: Stefan Hajnoczi To: Christophe JAILLET Cc: "Michael S. Tsirkin" , Jason Wang , Paolo Bonzini , "James E.J. Bottomley" , "Martin K. Petersen" , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] scsi: virtio_scsi: Remove a useless function call Message-ID: <20230529152543.GA889095@fedora> References: <08740635cdb0f8293e57c557b22e048daae50961.1685345683.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e47TU4KlPcthwDds" Content-Disposition: inline In-Reply-To: <08740635cdb0f8293e57c557b22e048daae50961.1685345683.git.christophe.jaillet@wanadoo.fr> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 --e47TU4KlPcthwDds Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 29, 2023 at 09:35:08AM +0200, Christophe JAILLET wrote: > 'inq_result' is known to be NULL. There is no point calling kfree(). >=20 > Signed-off-by: Christophe JAILLET > --- > drivers/scsi/virtio_scsi.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Reviewed-by: Stefan Hajnoczi --e47TU4KlPcthwDds Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmR0w/YACgkQnKSrs4Gr c8hJeAf/WmB2oYBwLIM+8TSkvLF5FqEfpmrlGGWzY/u8GJU2N9vYRbK3hj8XopAx /5QW9+w4nhzQiA6OajCWTD2H7ppbl0LyP2dyazgxpbclTy3onUcZ6zAkNVboh35j 8D8cucD4Hr92ZCMyw/39x5V7Gh7N4CDvtHJEMwWE7exufpzKmB+9r+qRV2LlYxNf JmdCwXDR+0jOxLUFr1yl9WpvHQlU+28ElDdDcJXliAoIRljDsIk2rbWafuxDKzH1 UPkM7/iR0dFFMK97WGs/ibwrwCVCjA/yejo4GTl6K0sUFazHYVJkseq3869jJma2 7ZgTO+y4fyt7XodklSvimt2hWFPkIg== =m2E9 -----END PGP SIGNATURE----- --e47TU4KlPcthwDds--