Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp412121rdb; Sat, 19 Aug 2023 06:50:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqgckQ9nsLganjzmbc2148GYMkbt5dQ8ios7t2OjTQUY2X+bMofziH8Dj3hujhS5icEt22 X-Received: by 2002:a05:6a00:1d87:b0:67f:8ef5:2643 with SMTP id z7-20020a056a001d8700b0067f8ef52643mr2360700pfw.2.1692453059509; Sat, 19 Aug 2023 06:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692453059; cv=none; d=google.com; s=arc-20160816; b=GzpGJ0YuxNsbWYInOplNGJxpuPLfvCClYZIQL3GWIpGvvIikSwKzycnxP1DR4I5ZPr +P8alIc3dQvHenWQcly+HMbiQ1CrAtQR6Hz+TbZkJO1GPXv/Gh9yCaxh1hGKVVp0HRuz vOgQsQx4XfFJ9XGBGFAfT2/FxXvUaHjbR/hWtdFQEhHiL+7byQr0sjRGP5t93p8tmB31 w46uamS/pzlPAjMmPc0HiwLVWZlYkgBPzolygRKftEFKiMVa/55x0NsK0zhfIEYGIYQ9 Er9t7L7GvKIMHxFQsJrYtNu6M5v+YtO7h3fi5XZufSVwrgrIBY9WcmPXuJN7gt5n6PgG jx4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=XPl4LNQHUuYPBKoWp14fjFNSu32aPPLiDSlmcfPKJ8A=; fh=XY/+NE70vGSzLYBOgkFxET7Rd08sp1hiBtzVmtSebvg=; b=q5VMsmmtdTwNPWBFc75jIXrDsDVc73pL3cMPSCkcojWeOAQCfc97XoWNJ+pHacV0s/ UqudDZDR/LWVB1R2QZhdg3Z2UpWGFJLIngR3a6JMxRJLNgV3KabD51DChLncYkatBqVo 4LMp6zUriF7ct15x2YYg2Xw5mcjw3gmE4+EIVuiv6kFZ4cisQUWOfKfjee6PVfmb+IWa XPdSI2Frp23q6iSPXN1CdjDD1b3iWqZ7avByIVI9JinQ/Dq3vYwqdbR0Uh4wxDE2Z7Ri JPVZC6b1MgVUSwQBy4FQbtkcC7LvYHRCI+ZQ61CabXSmwKwNpaYkAA+oNpjQLR8FX3Ay 6DqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=JznTqMtE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y30-20020a056a00181e00b0068730ff62dasi3811742pfa.60.2023.08.19.06.50.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 06:50:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=JznTqMtE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8F023B1536; Sat, 19 Aug 2023 01:41:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356599AbjHRAM4 (ORCPT + 99 others); Thu, 17 Aug 2023 20:12:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356707AbjHRAMp (ORCPT ); Thu, 17 Aug 2023 20:12:45 -0400 Received: from mail-pg1-x549.google.com (mail-pg1-x549.google.com [IPv6:2607:f8b0:4864:20::549]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29DB53C20 for ; Thu, 17 Aug 2023 17:12:12 -0700 (PDT) Received: by mail-pg1-x549.google.com with SMTP id 41be03b00d2f7-565aee6e925so549334a12.0 for ; Thu, 17 Aug 2023 17:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1692317513; x=1692922313; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=XPl4LNQHUuYPBKoWp14fjFNSu32aPPLiDSlmcfPKJ8A=; b=JznTqMtEzmQUpvzxAeOJ+URNBx980kBQ4vc0LdnKrjEc19VWnJiCU38eui4i6TArjS 7ZhgZVYQjvIo52Mz7VK6tOFo5eqohOkOnmGFLoCz750X0rviRMFw3NzdLqGW8e2XYT+9 pxoMk7qxmoPHcu9LHZC+7h2nB3BKFGwRcH1NmPLy9NTLqrD8Lw3sGMzP6JCXZrgKC47o wyNPfyls2X3+R2pu7QtVAP4eacvazkrk86BCCA9yzNgx7sA8Yapqf2gcn96vNbyNJYdh BEL3EbSmJfgchwlGeEUasfi7a9N3OhgtCZrfH0vS7cO8d0FrOK9jRFG07KWdbB3m062A 2JZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692317513; x=1692922313; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XPl4LNQHUuYPBKoWp14fjFNSu32aPPLiDSlmcfPKJ8A=; b=MQvFkLhWURIp1FvOTjeutL8zR3jgLaqQjBdrJNdkISnuBejSWfLynN2RSqj7BW1LEs B4JFXqGLzxGHOgXeSWVEOau0Vzm2R6Du8JzF5TWMvvTDnCEH+To2gbHYJlKI2jWtlwB/ n94x4z8ugs1qYLThziF45KSM0e0QzLZ3W7kLWoFhckhkBo40GQFMRDCiprKVZq+9tlyo NRUzUybUr3HfOoxFIhqY4/7oj9ZwGGe9DrpOrzM4NTROe3AsPxn9+pEWjDaPMIFXv4FA uC+joo/Cf4FxaqVoYkoRDhc3adUpJ6MOGfkPqxvYRrFT9KNrMErsyvK5QFcqvo7Q213M hAbw== X-Gm-Message-State: AOJu0YxQK/QdWKEaxcmx8AUzB7MOgQvhZQhvB36SPVlKYoayHcoe0AOo opAJGJMk/zC6sVBrrJzZ23eB94DBemQ= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a63:340d:0:b0:564:aeb6:c383 with SMTP id b13-20020a63340d000000b00564aeb6c383mr149033pga.1.1692317513383; Thu, 17 Aug 2023 17:11:53 -0700 (PDT) Date: Thu, 17 Aug 2023 17:09:27 -0700 In-Reply-To: <20230817002631.2885-1-zeming@nfschina.com> Mime-Version: 1.0 References: <20230817002631.2885-1-zeming@nfschina.com> X-Mailer: git-send-email 2.42.0.rc1.204.g551eb34607-goog Message-ID: <169229733356.1239924.3834338159427286812.b4-ty@google.com> Subject: Re: [PATCH] x86: kvm: x86: Remove unnecessary initial values of variables From: Sean Christopherson To: Sean Christopherson , pbonzini@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, Li zeming Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 On Thu, 17 Aug 2023 08:26:31 +0800, Li zeming wrote: > bitmap and khz is assigned first, so it does not need to initialize the > assignment. > > Applied to kvm-x86 misc, thanks! [1/1] x86: kvm: x86: Remove unnecessary initial values of variables https://github.com/kvm-x86/linux/commit/392a53246257 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes