Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1294655ybi; Sat, 8 Jun 2019 06:41:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6pnTS68GH5wytew1Hs4NL+/ARyUccBVQaxo/2Bi3bv2umCwJ7Y7M9aSAxQwjp6SpIilZ2 X-Received: by 2002:a63:4419:: with SMTP id r25mr7811418pga.247.1560001275527; Sat, 08 Jun 2019 06:41:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560001275; cv=none; d=google.com; s=arc-20160816; b=qa8p/PpoihfAO2bmGfxsi0X4ay42ieLzIOoaC03pmY208akEFMzN/7bbFMplc2MY1d E4eIW8ZhgHILPN9u5cLJJwX4h/on/Luvk8wejeKkYoKDLmS18ZPBaVKArHQEfVsiGUOP iAvBU0Efu50P5ZFu6qO7ePPL0DeEmvBMIcwqX8MX344G441Y+lJCYUSWfd46oIuj4i53 EuOTYnwCl8ihCHRKP91K5kd4yTk+e4ZSjv+uhzkb2dnS9xMV7VWhdzf3IbUYt/SLomI3 YMcdoLg6KpjFms9+JHnQ8WvHLMvn4j5H8mTWVdwlR5NcKlIxgC95H9IJ33sLgnOStQSr jx7w== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=FQo1aZOHlTdjR7/4Tfo8s+FY09+j2JLOXFXpPc3bLv0=; b=MFYL4+TQbe5lcMpLNpIETP25HHPuaf0zH3JWGuIrxhM3WcsHuUf0/J1yae5CcexhZy P7wPXYv+RHpVwN/cFWyzV518ZAhdzHQmbY8G/3i/RTlGnqhYQQGm8IBFD0aTXr0/EIBH eoIYibbqWJ3Qz98MtXYp73wgOsSlBhkTYQic/V8qh1cfKFWKkG1nv0h+G9QKOlRRrhzk xkL1Ai+cN7QhHV6cEW3CApzY7Nc+zKgmx6YV6FdOSI9XYABEJTmmGJiaqUfBFHRFTgDf jJh+vAhSAfv6KE3ATeuRWO/UxGL9Fz2M2GK5WmucE278TPkuFftdJBW6LOFEVrbSHQMc KNEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FvoQGsdI; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si4526111pgv.105.2019.06.08.06.40.59; Sat, 08 Jun 2019 06:41:15 -0700 (PDT) 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=@kernel.org header.s=default header.b=FvoQGsdI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727024AbfFHNjD (ORCPT + 99 others); Sat, 8 Jun 2019 09:39:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:56000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726861AbfFHNjD (ORCPT ); Sat, 8 Jun 2019 09:39:03 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3B004214C6; Sat, 8 Jun 2019 13:39:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560001142; bh=VAbEjP4WvjehZzX0A1LbZwVIoeCrRPvHqpl8Is6h9fM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FvoQGsdIUib7FKs/gk6CMxV1OUmgyRHAFdMpb0G0pk7RZgps1z90Tt/EpqAWcL7Cn D6NMgRSihHqxom/bT/3lPQcuRC+hCixSlNJDtiyMuNH6+WTekIPKD6h2+dIOZiKhBR d2jER0jZ6byaAQgRIWuyMBvSnhzoiBXmhZD4+qU8= Date: Sat, 8 Jun 2019 15:39:00 +0200 From: Greg Kroah-Hartman To: Hariprasad Kelam Cc: Thomas Winischhofer , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [Patch v2] USB: sisusbvga: Remove unneeded variable Message-ID: <20190608133900.GA11489@kroah.com> References: <20190607015658.GA4113@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190607015658.GA4113@hari-Inspiron-1545> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 07, 2019 at 07:26:58AM +0530, Hariprasad Kelam wrote: > fix below warning reported by coccicheck > > drivers/usb/misc/sisusbvga/sisusb.c:1753:5-8: Unneeded variable: "ret". > Return "0" on line 1877 > > Signed-off-by: Hariprasad Kelam > ----- > changes in v2: Change return type of sisusb_set_default_mode from int to void > as it never fails. Please put this information in the changelog as it explains why you are making this change. As it is now, the changelog does not reflect what is really happening here. thanks, greg k-h