From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965668AbbJVS4y (ORCPT ); Thu, 22 Oct 2015 14:56:54 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:35378 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758139AbbJVS4t (ORCPT ); Thu, 22 Oct 2015 14:56:49 -0400 Subject: Re: [PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret returning 0 To: Punit Vara , jirislaby@gmail.com References: <1445539670-4018-1-git-send-email-punitvara@gmail.com> Cc: mickflemm@gmail.com, mcgrof@do-not-panic.com, kvalo@codeaurora.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org From: Sergei Shtylyov Organization: Cogent Embedded Message-ID: <5629316E.60106@cogentembedded.com> Date: Thu, 22 Oct 2015 21:56:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1445539670-4018-1-git-send-email-punitvara@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/22/2015 09:47 PM, Punit Vara wrote: > Remove black line suggested by Sergei Such kind of comments should be under the --- tear line. > > This patch is to the ath5k/eeprom.c that fixes up warning caught by > coccicheck: > > Unneeded variable: "ret". Return "0" on line 980 > > Remove unneeded variable ret created to return zero. > > Signed-off-by: Punit Vara [...] MBR, Sergei