Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp549719rwl; Wed, 5 Apr 2023 04:44:29 -0700 (PDT) X-Google-Smtp-Source: AKy350YbxH7MdCq98b4V1WrH2kXwrf+uLgEKlX5igvjhgRSGbnXUpP6Uv3+uRLVWxCt/mpoHinV2 X-Received: by 2002:a17:906:2710:b0:870:b950:18d4 with SMTP id z16-20020a170906271000b00870b95018d4mr2592238ejc.5.1680695069457; Wed, 05 Apr 2023 04:44:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680695069; cv=none; d=google.com; s=arc-20160816; b=lkmv5lA355NyUiVFviKww79nypndAqjpJL8Eu3KOJd1m1Z5gH+HUaAjHqmY6vW58ID UIWgE+rv1kVXSPB6Hwq4tGZvzcLBpDhqlAyqXUJoapLdbc7JE2KTJ3qeV9u2OJG9iaGT 1Sxw2SzFTOAcdGf2ebvGS1id48+YgZ57H4puPv8tWng+QiIEv8o1dhB5hOWpiSdPYY1n qT8eOhm37ymxWtYp8gPL3jzTMWnZh+r80M5JK52BFc8oguAqMOWjzJFCk+rWfDZKYQXU nXIH6XrDvE1z9wV63MKbQ1W9Xkno/hEHRmnakhsMZJWq1r8joNsEp/32V/xaQpsNlwON b4Xg== 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=fIZDIuqKHJT6Y68sWhsqOk3WqzzQvgbSTOsP0y12yqY=; b=qhlZkJ/P3ogAoEOk/LzLMwPiMx+DFkTJktxZI3f4STFvdkCFncenw6giPyyl1xldSa 5aofRJubrWGv7mjfZwJ0oh62CR2F2PYLaTtKnJ17BCmxO7jrAFHXNy1AMPPSzZXDgyNR w6iEeUNWvFIf5TCRbkGNy1w3qTUGJN4wRhb9bqKzpBSd16qihl8gk2q/ay1Fhs96+43N //cYsu6Yduuz2YTVSzkykuyd5CfTSUVrnNX1uTe+UcZuhXdLuvly/lOyYuURywcY3dqY 5yN68j/7SUbJE5LCUiNXKyeSJiXgGbz1F8WuPRHRoyfHVQmtBsCiUSwZ64XNw86Y1Ff+ 8yxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JIqe1gT4; 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 ue3-20020a170907c68300b0093b17cc60d2si903494ejc.36.2023.04.05.04.44.04; Wed, 05 Apr 2023 04:44:29 -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=JIqe1gT4; 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 S237538AbjDELjI (ORCPT + 99 others); Wed, 5 Apr 2023 07:39:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237539AbjDELjE (ORCPT ); Wed, 5 Apr 2023 07:39:04 -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 09DE54203; Wed, 5 Apr 2023 04:39:02 -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 96F156233F; Wed, 5 Apr 2023 11:39:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C62CBC433EF; Wed, 5 Apr 2023 11:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680694740; bh=Ac8wTw9RR/85DVjXUxxvaiBRTiHVdB/k4QsbhkKgWLM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JIqe1gT4vcZIjvsLtoiJSi7tp746yDBu8/mBlP7hSvfcy6MiuGPFRFV6I6sGvAcqY XtsGkzf23WgZfFcc5+tYHRwqD7PmCkFKK66bhRC9NV7yETzLjwFoX8mszseSHlHiEN Z7SyhqCLWzqji4K5cPC14ShD5XRljk/DznftXq1oszUh7/Igqt/DQk8+UJjnqsmdsr asjOUvsKkgudJc5SeChHwKi3d8WqhlE7rCo6/E6+w5joroS2iYKklD23zo1WeI9sNo cH/VyU/2rANX8tas5/ILiklfubyKhrBbrjR/AfxJRhBSVNGvQ43gbNvyWji9l/ftCi BDvz5roOGy2Uw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pk1UB-00059d-BR; Wed, 05 Apr 2023 13:39:31 +0200 Date: Wed, 5 Apr 2023 13:39:31 +0200 From: Johan Hovold To: Tom Rix Cc: gregkh@linuxfoundation.org, nathan@kernel.org, ndesaulniers@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] USB: serial: quatech2: remove unused qt2_setdevice function Message-ID: References: <20230321181255.1825963-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230321181255.1825963-1-trix@redhat.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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, Mar 21, 2023 at 02:12:55PM -0400, Tom Rix wrote: > clang with W=1 reports > drivers/usb/serial/quatech2.c:179:19: error: unused function > 'qt2_setdevice' [-Werror,-Wunused-function] > static inline int qt2_setdevice(struct usb_device *dev, u8 *data) > ^ > This function is not used, so remove it. > > Signed-off-by: Tom Rix Now applied, thanks. Johan