All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Outreachy kernel] [PATCH] iio: humidity: hdc100x: removed unnecessary else after return
       [not found] <20160313001531.GA22845@spock>
@ 2016-03-21 19:14 ` Greg KH
  0 siblings, 0 replies; only message in thread
From: Greg KH @ 2016-03-21 19:14 UTC (permalink / raw)
  To: Juliana Rodrigues; +Cc: outreachy-kernel

On Sat, Mar 12, 2016 at 09:15:31PM -0300, Juliana Rodrigues wrote:
> This patch removes an else and a break after a return, fixing a checkpatch.pl warning.
> 
> WARNING: else is not generally useful after a break or return
> +                       return IIO_VAL_FRACTIONAL;
> +               } else {
> 
> Signed-off-by: Juliana Rodrigues <juliana.orod@gmail.com>
> ---
>  drivers/iio/humidity/hdc100x.c | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)

I can not accept patches for outreachy outside of drivers/staging/
sorry.

greg k-h


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-21 19:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160313001531.GA22845@spock>
2016-03-21 19:14 ` [Outreachy kernel] [PATCH] iio: humidity: hdc100x: removed unnecessary else after return Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.