[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1499672197.12673.1.camel@suse.com>
Date: Mon, 10 Jul 2017 09:36:37 +0200
From: Oliver Neukum <oneukum@...e.com>
To: "Gustavo A. R. Silva" <garsilva@...eddedor.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH] usb: isp1760: compress return logic into one line
Am Sonntag, den 09.07.2017, 21:00 -0500 schrieb Gustavo A. R. Silva :
> Simplify return logic to avoid unnecessary variable assignment.
>
> This issue was detected using Coccinelle and the following
> semantic patch:
>
Hi,
I need to ask: Where is the improvement? The compiler does not bother
and for the human reader you do not do anything obvious and you
decreased grepability.
Regards
Oliver
Powered by blists - more mailing lists