Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp374518rdb; Tue, 23 Jan 2024 02:20:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqxqZI9Aax1Agd5YROY8jTpTXN0vOy4NVoKMk1t6Frb473Z+osDvqf2fe4R9owjO0J49ri X-Received: by 2002:a05:6a20:158c:b0:19a:3da0:103f with SMTP id h12-20020a056a20158c00b0019a3da0103fmr7294412pzj.7.1706005213129; Tue, 23 Jan 2024 02:20:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706005213; cv=pass; d=google.com; s=arc-20160816; b=s1uV0E4Ifpx7ExEACAR4pzIvm7FLt35JT4QZMsMIb57JMb38NtNprBydSdaBUoE4ZU wPRw38PbfnBlUwq1lb1A0Uavn0AzY9O1FyZvpMMOPBHKVVa9Vz8+XKZBuOlWRGAcMFpV v21MC66m9/Uh0TU9lYcTj5pqSXZXBQRv/4BZpNnxz/IifyRhIYk+mJgxVxxXz61FpzMf Icvde83cs93upNpkF58X7ibij8j38MhuUepYwr4uRVhqDjUDM92KZxIdy/RjonO1oijh Wh8+Lzk7D1xLKEyW7i7yC+yuaq94BIE0J6+fvct8k6y+mivQR2TKxqxbpVm5CkkY8anC xuNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=q7Fp4LgvyD5K2G9E/8r4VL2p9Km6T4wi3SRSPXHL1J0=; fh=4QEoXEmxe7XVEChef9Hwdw6p+eBcqdJShOTF9CYDXgo=; b=vYZSBXai3JB5QmM2SQbxT6fXgCf4e5caq83bbnp2d+nwDi5c2U1tJLtbkIKvi0NX1d MHyvDIS2lxIGolY92fiX0ImHDr2oymXBubJkdN+/LeYn0GyHI8fo57zM5RMRjuOt7Izi ZmVNNYad/GmYuhtBJqKl7SrIVHJ5Q6fZuH4dsH7pqXEU/9lqdQQWeLsEkbkk000kkP26 oonkIiqZvvn7QtMr03CmSFQQ2RYcCytnuMxjyJfIwg5rqUOLVTXHvy8hfhEIzDw4IDQ8 JAMKNzWp1qRw3SdiuAh4LFFfyezn7t3bfedRd7JJ8z+8l+D8rk/VExyEr974dQzMRtHc F7VQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tsb/ljTO"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35081-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35081-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s193-20020a632cca000000b005cec8ed4f83si9533249pgs.587.2024.01.23.02.20.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 02:20:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35081-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tsb/ljTO"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35081-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35081-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CB1FA283B43 for ; Tue, 23 Jan 2024 10:20:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 740215A788; Tue, 23 Jan 2024 10:20:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tsb/ljTO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8970459B57; Tue, 23 Jan 2024 10:20:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706005203; cv=none; b=XjCkZDbLSIidllmUOJog50p8ORCh50/Djpy9/Srh1B3r30yb0jSj+JnWU2ZlrXzC7kcDGILlpwGeIuqqGEakYN22uDx72kkIQD9C4G3J17FgeaTPKJal6+y0QlZtNa0vZLXwAOB04PNN4YoT2YXXxTW56y3/rmMUWmrfr8bzQHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706005203; c=relaxed/simple; bh=gcnsT8tXj9EkNlSqrg59YnLPO0VzF/drEtrfu+PruWE=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=G2oyfN0CWHQCcd05JpLygRp6TVpIGn5yWr8mvDnmQrwtF467cFeljJU4GjBsLOVDAiVeR7TBjjm9VLG9UcWozxZ9ybCgfYPPMsPxLvBGPVAujSgBCd3qbX7YuQx28P8lAfX2kOkPets/HYy5COUATmdd6I4PAE0awZOcF2p0nII= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tsb/ljTO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABF8BC433C7; Tue, 23 Jan 2024 10:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706005203; bh=gcnsT8tXj9EkNlSqrg59YnLPO0VzF/drEtrfu+PruWE=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=tsb/ljTOx+w9mpxG0I9fD/QNvkw4WWdgBggMqZP75CVx9sJ4dO+OusslEtKhV6Pfc pV0TkxOwNdDdQ3hUTIoTvGavyaie/6gtGaWfoJwrGzKH0kqahBzlOS0YZKTb1gMjcj nzlv2iin2Iq8JjIA/TKaPfppBuBvqEUwhAN35ltSBZ0JTYqjqsjz1FxQ2AOwdnFw9Y vf7WfAkvY9q7UZq0Ig0ocfDq/DiYCO8TmnVB0QUT2QCvW2wZDVVDzQvTPeKCDNNBHF wBW3qo186hIakDc1w06MMXLphs+t2VOJAJVWarG5g6CxWGuVygpSoVtFj8mvk0vpcw 8I8rkg1cojgrw== Date: Tue, 23 Jan 2024 11:20:03 +0100 (CET) From: Jiri Kosina To: Jiapeng Chong cc: djogorchock@gmail.com, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] HID: nintendo: Remove some unused functions In-Reply-To: <20240119072729.54499-1-jiapeng.chong@linux.alibaba.com> Message-ID: References: <20240119072729.54499-1-jiapeng.chong@linux.alibaba.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Fri, 19 Jan 2024, Jiapeng Chong wrote: > These functions are defined in the hid-nintendo.c file, but not called > elsewhere, so delete these unused functions. > > drivers/hid/hid-nintendo.c:670:20: warning: unused function 'joycon_device_is_left_joycon'. > drivers/hid/hid-nintendo.c:674:20: warning: unused function 'joycon_device_is_right_joycon' > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7992 > Signed-off-by: Jiapeng Chong Applied, thanks. -- Jiri Kosina SUSE Labs