Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2865502ybv; Mon, 24 Feb 2020 13:13:43 -0800 (PST) X-Google-Smtp-Source: APXvYqz+tO1nqTeNSit04jBLwFIwf2JLRUPmz5LMuRiKj8Dl08sWcwp4JUIPJ/jZFuQ/fmne3xZ4 X-Received: by 2002:aca:2419:: with SMTP id n25mr838447oic.13.1582578823685; Mon, 24 Feb 2020 13:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582578823; cv=none; d=google.com; s=arc-20160816; b=yIvPGFPwk0Ebxz9KOS5IfXAZhrwmloBwS7SENz3IYGaTPSBLwfKYv0AgR/OKXrXA6H M545c14lgeNPow2Qqjh2Crf523xTwXRaVSm349QYAEMoZWDZPqzzJM0XwHFEVtfEApT9 SDTMiGKP/XoMFIP63Yy5adOlDVFkHMdkaouatUuTjYWbbSI7BxtftW9IZ+hdZ0NKGrZ3 RazYxtdwY0LXFm4EH4u0BB8Pw11vHAOOrf2cHvNJ9qUblQFvlP2zDtG9pfMOHxeMS0fy 3S6aN7Wlian7xdRGaHMN67DIA2kpjaM1jrz9ddRcbpCgWzQo3FWrp+1bJ+OywjAO+AKx RK3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=7fKOJ3M2UjkXuGhNEojycNJyumHodeR9QVJFJrr3Hhw=; b=kLlaB6rL5BCZ2t9bIZ+VWqnBU9slv2d9Ver2FgN0yX9wDwm3kFzMCszRp6Q4cF+mhS F6XhVrnGr0NJ7ciDKltRQXSH8B73Vmdo2dOH2WZcQBA9XePbK2TntTudhPMyA0Aa3S32 39ADJyBVrWlqycRlGYf99xAh9zoSZJQj0wIDwF0UValVNYe4acwgmHnmbZ/f2qxpazyS 1hKKpefrHk2BQ9MqEWufzuparfBWi0XGOMA5ozbCP478p3wZqaFmlavVtuVpLWx5HNeO +/Pzvc5ZHxOXLCxk/IDJcN9mkIm/NFXJ20D/7+0KQCVS2NJiXZWrU2fHzxC+RoFQmAPt i9jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="mW/Hohpp"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si7506541otm.88.2020.02.24.13.13.30; Mon, 24 Feb 2020 13:13:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="mW/Hohpp"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727803AbgBXVMa (ORCPT + 99 others); Mon, 24 Feb 2020 16:12:30 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:40938 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbgBXVMa (ORCPT ); Mon, 24 Feb 2020 16:12:30 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 01OLCGe0072295; Mon, 24 Feb 2020 15:12:16 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1582578736; bh=7fKOJ3M2UjkXuGhNEojycNJyumHodeR9QVJFJrr3Hhw=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=mW/HohppwCft3VZJXOWyOaQKpqKSoin2c5Bdp4N4i7k4URIS/NwQ047QwNt1+Lxrz yJSlNdpP6BrFR2ekj+0kmLt9URmj/Hg6wSN25YwrPvQbtIfiUTojajLuAkBn8/Vfqc 51Y84n/oe49QWrgYRa3CX4p6I8jp0TlymqAbfXd4= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 01OLCGki037258 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Feb 2020 15:12:16 -0600 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 24 Feb 2020 15:12:15 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Mon, 24 Feb 2020 15:12:15 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 01OLCG63022267; Mon, 24 Feb 2020 15:12:16 -0600 Date: Mon, 24 Feb 2020 15:12:15 -0600 From: Bin Liu To: Colin King CC: Greg Kroah-Hartman , Matthias Brugger , , , , , Subject: Re: [PATCH] usb: musb: remove redundant assignment to variable ret Message-ID: <20200224211215.GA28269@iaqt7> Mail-Followup-To: Bin Liu , Colin King , Greg Kroah-Hartman , Matthias Brugger , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200222135420.135692-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200222135420.135692-1-colin.king@canonical.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sat, Feb 22, 2020 at 01:54:20PM +0000, Colin King wrote: > From: Colin Ian King > > Variable ret is being initialized with a value that is never read, > it is assigned a new value later on. The assignment is redundant > and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King Queued for v5.7-rc1. Thanks. -Bin.