Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7805140rwl; Thu, 23 Mar 2023 08:53:45 -0700 (PDT) X-Google-Smtp-Source: AK7set995Cl3vKSX0loT+8khsE3IpfHsdRvju0vF75aEGVxO0UzdFXhabiciZTsrYvbab3tsbEGC X-Received: by 2002:a17:90b:3ece:b0:229:f4f3:e904 with SMTP id rm14-20020a17090b3ece00b00229f4f3e904mr9748942pjb.11.1679586825447; Thu, 23 Mar 2023 08:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679586825; cv=none; d=google.com; s=arc-20160816; b=VDtCROXgVHO9hLo6tkV18+Hl5td3KxpwvkzxdoAcbr/yhUJ8UqqvKCzCWQWwOMP0Ld Qz0Zv8TCXgluzO5ed6hIaTgYVZkFpUm0YLbpsVIczKhbImuvqlnTGAhCb89jOQ5Q+/NK jRjQhTK7gCErOyZtIZlCrOv4ce8k571FUwKS8jCEUjMUeNQEk/3UDGjYgIX7G9+ihN0Z F5E34UgSG7lBz8zaIE3ZVQ7lPaGHINLqDE/787Y3OzvOhtqUuUTcM6XGE6uIPtEZN0h1 pW3VjAY1NEEH2BdCu5gvco5C7QvhkPLGemt2Uc3BjdcXUrWgme2lknszB4kkEm82CNOo Khsw== 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=wFNk0PMfOOI+CqATyTjtD0/9jNHnSxyxFgJE5ar9UM0=; b=Bk8yuh4ICF9EYu+4/Fm3TLgt0BseAHAxc+hhvp1Ch/kOlIpdUGp6J4BHhUWV3wntOx mEXNmQgRCDfIrn+56LJjiWCKsx0Eue+PUE5yg3sHhzqBt1lSV2EYuPMYC7TwZyCVYRd4 sMOQui2wr4Pvw3HwAJu1WKwE7ui21QiZBzdHol95j3ilAZL0gcVvyXh4mA1RNHErNHSY Q0V7p2OG5iXMEpC/U2sbknnzC0IfsgH3V5JAlb4ruUMWjZ2plaQtRRK5DyvGG3QNZx5c WlHnNsb+91lp6K1uXDLDYJHtnE+sP2ub2I4sYNUVkIdYLFJoWQ9e+5WYRqtz9j80N8Vs UbQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tnilC1zV; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w9-20020a17090aad4900b002342823b17asi2194709pjv.23.2023.03.23.08.53.32; Thu, 23 Mar 2023 08:53:45 -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=@linuxfoundation.org header.s=korg header.b=tnilC1zV; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231863AbjCWPkr (ORCPT + 99 others); Thu, 23 Mar 2023 11:40:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231765AbjCWPkn (ORCPT ); Thu, 23 Mar 2023 11:40:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECA7E20576; Thu, 23 Mar 2023 08:40:42 -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 ams.source.kernel.org (Postfix) with ESMTPS id AB53EB8217C; Thu, 23 Mar 2023 15:40:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED284C433D2; Thu, 23 Mar 2023 15:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1679586040; bh=wFNk0PMfOOI+CqATyTjtD0/9jNHnSxyxFgJE5ar9UM0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tnilC1zVLejPKPWj7NBoQUZW0RnAqpfSblanzNCdJUwCl0MwUnPzZP8O84tv3Dk43 cnCOzQLFcLt5QUCn9cPLl6iJEwDRsu/Y2bwpYk/mZ+H+DADeGhhNuMs7nKhDU3sNz1 s6k37Ufazast4a3Xoo3K7XhHdND+kZsIVMvvDB0o= Date: Thu, 23 Mar 2023 16:40:36 +0100 From: Greg Kroah-Hartman To: Mingxuan Xiang Cc: Thinh Nguyen , hust-os-kernel-patches@googlegroups.com, Dongliang Mu , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] usb: dwc3: host: remove dead code in dwc3_host_get_irq() Message-ID: References: <20230323095311.1266655-1-mx_xiang@hust.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230323095311.1266655-1-mx_xiang@hust.edu.cn> 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 Thu, Mar 23, 2023 at 05:53:10PM +0800, Mingxuan Xiang wrote: > platform_get_irq() no longer returns 0, so there is no > need to check whether the return value is 0. How did you find this issue? How was it tested? thanks, greg k-h