Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6985717rwi; Mon, 24 Oct 2022 08:26:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6hRk6n8HoyRa+DMoWo3Us/fLFhU9Vang7EEbYvy56qRfMu2+Fy5t0HVGYArviXU1SOvEkF X-Received: by 2002:a17:90a:4594:b0:20b:23d5:8ead with SMTP id v20-20020a17090a459400b0020b23d58eadmr73274140pjg.127.1666625193557; Mon, 24 Oct 2022 08:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666625193; cv=none; d=google.com; s=arc-20160816; b=ZINz7zh6sTUwqb0q373TJxV7iFWS3V7oGkyo4oZD+4Re45cKrolRFkYizSzKQ2OIOM e7oa8QzDsLmgcyF/nQTSH0CKqsXh3X+7FbJlTUjU7IHZBGdtknMuViqOTvboX2k3RVQ7 V8uYPzz8SnMtFpuVcM3IvBh2OS9efD1Cw1m9J6n7LnNKI7pAu8fTnlE8ieUCqC68xlFi JPPrhpROfOhgkzerQMhU3b/I9hFhJSyEIW1m55lJctvATotiFdcccV7Jm+a86SwgAbrl HRa3PXFjEqIqS23VmeEJwMLQdihpqGJAVbqMGrtB4O8lSRVm5JcxU0zxbg3uRZaI9+rk qzMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=Skx81/XLnM37wGlYqVUgS+K5BJCfBMi0vhbXIkcH7DY=; b=CQRUOI24j4HcLpbiZGWKQ2XGB+48cr02cb7gmx8rTpfE47bA+NNdfGoqbUzrSjQhx/ dGqu13lstk4dZ4m1cnpl6frklbR4qhf8JSZDU2c22sI396puA/hqj9kdTctCwoXXmRWT m7U1DhJPqShDdvqF/H46h7ERRSKUqBLyXxorLI+dZIm075Mr4tGcZDMxrupajU8P3biV OXexT5KUvN+mT673/+I+yspTEbroJBfXZ3bqdqIaikXzaW+CmtEvMA0txeb7zAvbbBch leTc2djr03P7u9eqmhVJz81nlYqez02JMjU+ZAwtu/LyPUcQj+y219W7CBLYX23Ucjgb d6Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mCMPRAzx; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a170902c9cc00b00186b945c0b7si680367pld.581.2022.10.24.08.26.21; Mon, 24 Oct 2022 08:26:33 -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=@kernel.org header.s=k20201202 header.b=mCMPRAzx; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231423AbiJXO7c (ORCPT + 99 others); Mon, 24 Oct 2022 10:59:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231149AbiJXO6j (ORCPT ); Mon, 24 Oct 2022 10:58:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0F32127924; Mon, 24 Oct 2022 06:35:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F343A6133A; Mon, 24 Oct 2022 13:29:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4706FC433C1; Mon, 24 Oct 2022 13:29:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666618149; bh=U1pNoBuIsIrExwJDjLtiHnNqQQfx2eDzrYReKYQoZ6Q=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=mCMPRAzxB37qBXEUSaLJsoak5S6iq9Mj2xUcw969M8txWB28BGpykxaigbhh68y8A n4wd8v64FHf9J4FxMYvcJSiItOyIJ5pDlv2Dc9Zo3AlErMZZdwGn71tyi+ZJhzpeV2 5HvGknqpCnE5hXtYS2+9kV3MFWUQxEbNBeHef27D/e3W7mta4+jre9pDzgL72eIshQ FwnY4gcnMw7g0lXZFgDG/haRvnvNRN7A08nfqlbBd95FK9yXnWAsKy+TKwlYAgd99u FjD8fohSJS3kSgQyjcrbkc7JnvyezPtO+8XrQz5nIqCC1InlxaDi/yn87Epw20S2LB PrZZEIE7TzJGA== Date: Mon, 24 Oct 2022 15:29:05 +0200 (CEST) From: Jiri Kosina To: Paulo Miguel Almeida cc: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Benjamin Tissoires , linux-hyperv@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [next] HID: hyperv: remove unused struct synthhid_msg In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Mon, 24 Oct 2022, Paulo Miguel Almeida wrote: > struct synthhid_msg was meant to be a generic representation of the > possible protocol messages sent through VMBus. In practice, only the > header is read and depending on the message type, a cast to the actual > type is done. Also, SYNTHHID_MAX_INPUT_REPORT_SIZE constant isn't used > which I suspect is a leftover from the refactoring made while this > driver was at the staging folder. > > This patch removes struct synthhid_msg and refactor the code > accordingly. Applied, thanks. -- Jiri Kosina SUSE Labs