From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23C17C25B0E for ; Fri, 19 Aug 2022 08:00:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347351AbiHSIAi (ORCPT ); Fri, 19 Aug 2022 04:00:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347225AbiHSIAb (ORCPT ); Fri, 19 Aug 2022 04:00:31 -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 32065DFB5A for ; Fri, 19 Aug 2022 01:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660896029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cyh9GNwkSeiWX8VVWJet6cmrStrv1Y1BhHYKMAKCy08=; b=Mbf+/6gNvw/GGH06KxHHpl8Qm1UTNN9a4ePYnJIfkWlCfcFwxmIqCIiYnsoG7ozwtpBAim 8OuDDtMOMbvEDXID/X8Ls2L0FWwgKMOeQNRfUDBL8tif4tVgUWBzt9Y54S2Np14S0LGFMr cbOPe8s8bTRF9nFXJtQcjVol9AHBhMo= 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-472-bnpzuPYKOIyzKT_4YXZnTw-1; Fri, 19 Aug 2022 04:00:27 -0400 X-MC-Unique: bnpzuPYKOIyzKT_4YXZnTw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 946A1101A54E; Fri, 19 Aug 2022 08:00:27 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id EDF4C2026985; Fri, 19 Aug 2022 08:00:23 +0000 (UTC) From: Paolo Bonzini To: Li kunyu Cc: seanjc@google.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, pbonzini@redhat.com Subject: Re: [PATCH v2] KVM: Drop unnecessary initialization of "ops" in kvm_ioctl_create_device() initialized and assigned, it is used after assignment Date: Fri, 19 Aug 2022 04:00:23 -0400 Message-Id: <20220819080023.2328382-1-pbonzini@redhat.com> In-Reply-To: <20220819021535.483702-1-kunyu@nfschina.com> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Queued, thanks. Paolo