Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2041897pxu; Sat, 17 Oct 2020 09:30:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvVVtQtApgFf7rpH/5Hc+jH3UOSTKrExeWLCK/ZMIHz9pgBLIA+Rtmbx0WtQmAaJ7m+GIr X-Received: by 2002:a17:907:40bb:: with SMTP id nu19mr8948075ejb.246.1602952238754; Sat, 17 Oct 2020 09:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602952238; cv=none; d=google.com; s=arc-20160816; b=cCwtL9mUzhVr4KZXpGHxHhimZoedNTSBaEbqa1XJKc51ibzQUxYsK7/SaK7/Y+a70b 7bpQ8JmPcuxD7An+ADhEuyr3/4nvdUzg61klcIHXrzXmosopzjTL7mfyWHKP4mJo4vuq R2M/WVGO8afrrYPYNFpKDqFb5IiF28zdzbuYsNWANi2LCFPn1uocj0jqGcVYTeQXDnAK qW1pFRPfLUMBhPVOLTmwHbnRYZYz3l0l2DSNTF3OjJthH7f3AKWmb2RiCIXaM5utp19A UrxjQ8qSqlR5bJMHZtm+ug9DFQXbZXZfxe53dK+ZRzhPM0rPIt7PZqH6QjKF10TgGiu5 1mlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3/6V3G2pS0iQZfx+W1jRBDC69XLzC43FFM/6CPSrA9Q=; b=ATga5g2gQh8tO+GrfrHtEm0n56Qi7qdqmKeKb4b3PdxUKokFxS0NUK9MO0azfLVAFY L7zjPSRhBZgZZ6QhQwQq9NUf30WslLID/vLTjwAUu5SwTqriWVieWkRhIrMqe6fTS9IE PnBjDjnQBkEESV2rRnMNzQQG4AVRtdSg0OyfY40DZPwnzBOBeX/jryir0jC0hz0K3jTP FC7em5g4gFB9J+nEKD0Ai5MUVH4WNHwuc16smFstdEBL8xxt+b6i4m9AriRyfDGOefFS Qknhjz1ypWt8s9ESU/2pY36dERW4eU0/df7PA12wnRquZCMG7tnabUwCFhsMj0BjgI+w wfrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b="Mb7l/y0l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si4153621edp.328.2020.10.17.09.29.44; Sat, 17 Oct 2020 09:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b="Mb7l/y0l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437996AbgJQQYl (ORCPT + 99 others); Sat, 17 Oct 2020 12:24:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437805AbgJQQYl (ORCPT ); Sat, 17 Oct 2020 12:24:41 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20D1AC061755; Sat, 17 Oct 2020 09:24:41 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id x7so7836495eje.8; Sat, 17 Oct 2020 09:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3/6V3G2pS0iQZfx+W1jRBDC69XLzC43FFM/6CPSrA9Q=; b=Mb7l/y0lTEQAwiCPHpZdkuuFvHUnYpMqZCoIxuGW/CkLxWvPMURzXMTPY35/Tektvc ar+q8WaHHQ0Nt/GCabmIg9v/Fbfh55Kcfyve4bzE2PSrmeughqxQuYzwervrsYrmRaKH LtVQ0TNfiiWeM2GVTQS+bf8rnjz+iJbC8ZmxTJurDYk59IQQrximctWWjW7jcp9kSWjW 0YOqnVAAWEuu6Kvupgk3YZWE4H9+3/lf1AGGII/j/3hIGrD4yV/54sR7ec5i53fY2PJ0 fgh6eQYno8LC2NWNVWqoWWVw9bOr5wBz1ABL8HB1AEWrxXwt7Af4Pl5BNXPXRQtk4BRV cB9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3/6V3G2pS0iQZfx+W1jRBDC69XLzC43FFM/6CPSrA9Q=; b=JQGzzIot4jDIHU1zJwwk3QbBX+U8HHMRv8Lzt++O+C918SzHe87tJ09rHzY60qLtNN vhpnu86cozzEBpF6bKel7tzmVMq9We9SE9VjV6f5FxBK+UW3kMgjNd4WJdAvMThgQdjY YYFErrTIfbrd7B24ylWhuKwfE7yQKuhuBcHuZgl+Jp3XLgzs2zCbW2GYgb6QaCospDFV rSui+MANYWWF/puX348s9iIdSO0+3ywOnM5QqWZcsad5+y51he/iDbCez231t1T2O9s3 M/4c2w/sEwx5A9mFV6ZjHTWmN6jJTGEEUBkdvji27lakBH1toZcHmkIdIqqQon8kvsTY UJLw== X-Gm-Message-State: AOAM532pTXAUDcw5cW+NLuRq/iVi8ZL+Oj1Qi7l0FmZOv3ynRHYl8KBz n3gaYW6P173v9gBgshT0nlrOG+BgaLC354c+aL9fEKmZ714= X-Received: by 2002:a17:906:1a10:: with SMTP id i16mr9192336ejf.162.1602951879778; Sat, 17 Oct 2020 09:24:39 -0700 (PDT) MIME-Version: 1.0 References: <20201017160928.12698-1-trix@redhat.com> In-Reply-To: <20201017160928.12698-1-trix@redhat.com> From: Martin Blumenstingl Date: Sat, 17 Oct 2020 18:24:28 +0200 Message-ID: Subject: Re: [RFC] treewide: cleanup unreachable breaks To: trix@redhat.com Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tom, (I removed what I believe are irrelevant recipients from this reply) On Sat, Oct 17, 2020 at 6:10 PM wrote: [...] > diff --git a/drivers/iio/adc/meson_saradc.c b/drivers/iio/adc/meson_saradc.c > index e03988698755..66dc452d643a 100644 > --- a/drivers/iio/adc/meson_saradc.c > +++ b/drivers/iio/adc/meson_saradc.c > @@ -591,17 +591,15 @@ static int meson_sar_adc_iio_info_read_raw(struct iio_dev *indio_dev, > > switch (mask) { > case IIO_CHAN_INFO_RAW: > return meson_sar_adc_get_sample(indio_dev, chan, NO_AVERAGING, > ONE_SAMPLE, val); > - break; > > case IIO_CHAN_INFO_AVERAGE_RAW: > return meson_sar_adc_get_sample(indio_dev, chan, > MEAN_AVERAGING, EIGHT_SAMPLES, > val); > - break; > > case IIO_CHAN_INFO_SCALE: > if (chan->type == IIO_VOLTAGE) { > ret = regulator_get_voltage(priv->vref); > if (ret < 0) { for drivers/iio/adc/meson_saradc.c: Reviewed-by: Martin Blumenstingl Best regards, Martin