Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9069574rwl; Wed, 11 Jan 2023 00:43:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXtJe6rqGdSTg2dUlrrc/8lMNnCtLE84+r519HlcRlxQCoa898aILArgIN+ippu0O5IeoUfU X-Received: by 2002:a05:6a20:3c8f:b0:ad:97cc:e948 with SMTP id b15-20020a056a203c8f00b000ad97cce948mr108476908pzj.45.1673426580687; Wed, 11 Jan 2023 00:43:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673426580; cv=none; d=google.com; s=arc-20160816; b=P0ktPp+q+IhU3WV4mwt4RI506TzbHNFaXU2949SCpmTNDgRDGV7xVyBe0u0X0wU6Jy rbdv1Krq+fXYzcD+f/YYOP9BykiSXQLEa0PU0zCTwFSoI94xdtob2Bsi0q2rHg3MvkGE LxPa6rmpFG4oEd7hCJ7trB2hDBGCc16PIHfZ0YxnGuX0zWCoTIRAFPVpo2O4he0xMmO0 KoSrVNQJQebX6xTCws7IqBq+vK9BEAMlOaI+7qLMpEMZqaQRI+FwJaKUEUbm5TjyfUAi sJiG9X7utwC/EVICFaag7xLObkg5UE2UFZoEQY4/zcVwhLbr1Gydd4PHRsHe+buNlHLn A+yg== 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=Z9BqbleyIskxpRXIgDkvfJFpA17h9Qu7BSswmKTjpxs=; b=LH1CmWI5D/sVDUd/GAcYIYXUI3NJ4AV5wvt/FhPy99h1suovYY5C0CBtAZHRUxsrnM gw90FvMsuoCovLCiiqnD9BLOokStnmMU60VbuP67fUZmihMS/htsxhdYSp6MdL8EMlFu 6vHm1vMl9Tcwk/C3AsHkbjaPGxk6pqoUhhfAHhyjhZUye1rF6U20ugFFJEdQzdwMEvKP 7ob/N0I90NiQMo7gungX65PEAXDd7QehPI6T0XwhuTe43KSAv1ZQK5B7WncfQPj9WVQu YnSs04yHfFgcpqt2PG/lcsKTNe4j6O/L8ahD5RzyZPpvAfG3ibfwUd/iBrGUjVikiV2N R16w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Vp011uve; 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 j23-20020a635517000000b00476dc18e732si14562299pgb.726.2023.01.11.00.42.53; Wed, 11 Jan 2023 00:43:00 -0800 (PST) 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=Vp011uve; 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 S232064AbjAKI1v (ORCPT + 53 others); Wed, 11 Jan 2023 03:27:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238055AbjAKI1F (ORCPT ); Wed, 11 Jan 2023 03:27:05 -0500 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 710A9658E for ; Wed, 11 Jan 2023 00:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673425520; 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=Z9BqbleyIskxpRXIgDkvfJFpA17h9Qu7BSswmKTjpxs=; b=Vp011uveWAFidbpxSQeikU0aUoLMQDXzeHzV9YnDW10AFzZnYisWLkZCAkHFsyTQ2BKb7I X08wKZtGA4zSb5bMM8AwzaUiQ6eFSagl+06OLST1hyi5ZEmBhWHU4gNSGQdqlNfZqKEn+a vhqRB04VUqPK/ER2V4qgD/62H1D2mek= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-150-sJyZqrNgOx2xgTKau7XgYQ-1; Wed, 11 Jan 2023 03:25:19 -0500 X-MC-Unique: sJyZqrNgOx2xgTKau7XgYQ-1 Received: by mail-qk1-f199.google.com with SMTP id bk24-20020a05620a1a1800b006ffcdd05756so10596191qkb.22 for ; Wed, 11 Jan 2023 00:25:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Z9BqbleyIskxpRXIgDkvfJFpA17h9Qu7BSswmKTjpxs=; b=79brLWLocIMw5aAiJIB2KjdzaCNAnkOpqQcKHfv4frfNYRpT038ChZB10LY6zqU5fp GWoeRlHwpCBBqfkY9mlxeuGESvg3fweE40PbyV418K6bNI9WYG7uu9lkEQRs7Crse01t KFXmvRZac9fR4G/KInlde+Kk9tMG9AHmRtRwdpCEeJV/izlMaDm5cRHU0WgBv0woIz2+ OAiUPlqEqMIXEtHyFQz8kb4t9TelXOKuWqqwBhen2iYH9KWukp66tGle0JzcjskLD/B2 PMtSi0VtwSTMQYSeBSSA4KAlWhTiXDetY+MP6VnWQ3QBEj1Buz6jl571chWSsO1zjivj 8Smg== X-Gm-Message-State: AFqh2kpTkDKZeUhG4jP993yDQpvjrlm41hLxsVL6FR9Y2qt3A0RCu50v zxFyOVQCrOgq7fuSlZ48y8JmdAtDB47MkfCpAjJ1zPYFMSbEy/9Srp0q8gvkAmevqQH7wjeCJri 5ITAxjbS8vu9Xvpb3XCmqyIo5 X-Received: by 2002:ac8:6f19:0:b0:3a9:84bd:7cc5 with SMTP id bs25-20020ac86f19000000b003a984bd7cc5mr109481134qtb.39.1673425518776; Wed, 11 Jan 2023 00:25:18 -0800 (PST) X-Received: by 2002:ac8:6f19:0:b0:3a9:84bd:7cc5 with SMTP id bs25-20020ac86f19000000b003a984bd7cc5mr109481108qtb.39.1673425518406; Wed, 11 Jan 2023 00:25:18 -0800 (PST) Received: from sgarzare-redhat (host-79-46-200-244.retail.telecomitalia.it. [79.46.200.244]) by smtp.gmail.com with ESMTPSA id c8-20020ac86608000000b003a4f435e381sm7226084qtp.18.2023.01.11.00.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 00:25:17 -0800 (PST) Date: Wed, 11 Jan 2023 09:25:13 +0100 From: Stefano Garzarella To: liming.wu@jaguarmicro.com Cc: "Michael S . Tsirkin" , Jason Wang , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 398776277@qq.com Subject: Re: [PATCH] vhost: remove unused paramete Message-ID: <20230111082513.weu6go5k2nyfvkjh@sgarzare-redhat> References: <20230110024445.303-1-liming.wu@jaguarmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20230110024445.303-1-liming.wu@jaguarmicro.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Tue, Jan 10, 2023 at 10:44:45AM +0800, liming.wu@jaguarmicro.com wrote: >From: Liming Wu > >"enabled" is defined in vhost_init_device_iotlb, >but it is never used. Let's remove it. > >Signed-off-by: Liming Wu >--- > drivers/vhost/net.c | 2 +- > drivers/vhost/vhost.c | 2 +- > drivers/vhost/vhost.h | 2 +- > drivers/vhost/vsock.c | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) Little typo in the title s/paramete/parameter. A part of that, the patch LGTM: Reviewed-by: Stefano Garzarella Thanks, Stefano