Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1254114

Re: [PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret returning 0

From Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret returning 0
Date 2015-10-22 21:00 +0200
Message-ID <qmtfJ-2HW-47@gated-at.bofh.it> (permalink)
References <qmt61-2wa-17@gated-at.bofh.it>
Organization Cogent Embedded

Show all headers | View raw


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 <punitvara@gmail.com>
[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret returning 0 Punit Vara <punitvara@gmail.com> - 2015-10-22 20:50 +0200
  Re: [PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret  returning 0 Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-10-22 21:00 +0200
    Re: [PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret  returning 0 punit vara <punitvara@gmail.com> - 2015-10-26 21:10 +0100
      Re: [PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret returning 0 Kalle Valo <kvalo@codeaurora.org> - 2015-10-27 09:20 +0100
        Re: [PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret  returning 0 punit vara <punitvara@gmail.com> - 2015-10-27 20:20 +0100

csiph-web