Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1192744yba; Sun, 5 May 2019 00:30:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSL8ofTdV0DxKyVZzgRQQLcvZdn5u1ETiGrwtIZTbOlg+g5r86CMQeLMiRt4ozhfqz7DF4 X-Received: by 2002:a63:2ad3:: with SMTP id q202mr23380667pgq.423.1557041439034; Sun, 05 May 2019 00:30:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557041439; cv=none; d=google.com; s=arc-20160816; b=iWJnJdV/CndJL3W9Dr8lOMP3lUXL/JynZWdFkE+v+OEPamEBgbSp8pAPEj382h0rjQ YFB4/1UCt2NBABzmWeV6fMlJ464PYszqk0e7HpHha/Slsy6yikOnWpl+ooRfKaLAqic/ dDHU+d59jXqd5FwH7h8YDX6elbDH8pqkv3AGekO/05lDc9wTj4tZwpA33QZrU6b5NNux EpPKLQWf/NkpUsWa+rkS9L3dATP5qIzFghhkbxambNEe8QhLgsfmvOeZVaPTz3Y3c/lD 2I/74Zf8qYvvkZE2jsI1ot6XNS+KfyusmUEhY7pOq82uhVsOQtBXXN2ae9HHfkzCcv0p DvxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=p2ELP52IjlSRBhCCg6cmkTQC+UANYchO6gHwo7zqQjo=; b=WjGhnXT2u/wQMWO8NdDEK4sYu8SBI5s5bkCASP4oPipz7Jt8Cm6qsKjvo5zYJ1kjfU 03Knp5Kr04MngD+8XUhbgsJH84qsY3px/Yj5Q8WyHwiX4cUXMu1NK46CMiR77A2tpdma O38HHgZlwJzoKI3w25hf6WvRPBRg+vu75VG/QHLJ7jVjBeD5DFjjCXjDEFe/EaeCWZL0 DS5xNVg61qevPJ+xpct1xgTldGc58Fx7i6ZJI2r4c7GajakD/jf0FrbCIMvtF/wzyDrb zbEPNUrfQSQVwrjYb3k9KePIX76I2R2YaAHvkQEWJg6HBa4rW8TblugfB8VTxJwGtbUn vizA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cI1Xunnx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si8917897pgq.528.2019.05.05.00.30.22; Sun, 05 May 2019 00:30:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cI1Xunnx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727438AbfEEH0u (ORCPT + 99 others); Sun, 5 May 2019 03:26:50 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:41480 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725792AbfEEH0u (ORCPT ); Sun, 5 May 2019 03:26:50 -0400 Received: by mail-oi1-f196.google.com with SMTP id b17so190063oie.8 for ; Sun, 05 May 2019 00:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=p2ELP52IjlSRBhCCg6cmkTQC+UANYchO6gHwo7zqQjo=; b=cI1XunnxRe/VDLJjo7QyDkvojB9kQWlvEtH8EteupRtostZWIPLc2m2KUrN6nQ0s2L +2vfMzzF5Ci32KSt00W7KHbeCSPE752TdAo0QbJiP9Ab3IUHQczT+VXToqBBzji8BYST HWGt1viZbdfLMN9NUfaBtY1gZfJJx2qua5zs4iO2AqwO+WQbqy++cRMM67qD+aj81iOs Tp40d2XCL4U5OkUT30aSGpKFhkT0kvKmwlcfadWF60zOKj26uSOLiGPfkEEvpK4j0/Ck fRHNUYS3NPitU5cH8WAGGuiXHKTVNvV7DPFtmHGDqMxDQfo9uReysQySTBqZawO/kc2o vpug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=p2ELP52IjlSRBhCCg6cmkTQC+UANYchO6gHwo7zqQjo=; b=snt+4yr8BRmkbrPoKkcDzGuMeGoV8ErYaQOl6+JHV33Fl2IfVL9CFy4dj1aj4CVwE9 KZG9AxDO/fuxffEN4vDI/AxgAHE/wR/dpvwqxpG8lnadlpOb8Abrgb8PW5fLTcZJSJE7 vy7hX3BBIQjCY9dyVQxITt2u/ruKfLF9msr9SqNfEJSZBLo/pXOnhYLVc+tX63ba1Fis NgvPs7jljOSi/C2LGIa+fLCPziLZrK7qsp52XRSdSKfA5OmydXax7eDoJFwE1xud9Pa9 ql+Mn5KFVgtxb1UPRcGjHg0vMUnZSchbb6KNepNdBj33FPXvrB+Ke3YsmiFwhgxC2k7F z6ag== X-Gm-Message-State: APjAAAUcn85wOo6+6EAUTJslYblSF0Kf4wF9Gi7nKoU8x9UOedgna35y Yl8wj2yfS54ZXTeA2E3MYR4= X-Received: by 2002:a05:6808:48c:: with SMTP id z12mr498896oid.36.1557041209184; Sun, 05 May 2019 00:26:49 -0700 (PDT) Received: from madhuleo ([2605:6000:1023:606d:2897:6cea:c841:53a2]) by smtp.gmail.com with ESMTPSA id a23sm2256956oto.58.2019.05.05.00.26.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 May 2019 00:26:48 -0700 (PDT) From: Madhumitha Prabakaran To: w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, samuel.thibault@ens-lyon.org, gregkh@linuxfoundation.org, speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Madhumitha Prabakaran Subject: [PATCH] Staging: speakup: Replace return type Date: Sun, 5 May 2019 02:26:45 -0500 Message-Id: <20190505072645.3940-1-madhumithabiw@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace return type and remove the respective assignment. Issue found by Coccinelle. Signed-off-by: Madhumitha Prabakaran --- drivers/staging/speakup/i18n.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c index ee240d36f947..a748eb8052d1 100644 --- a/drivers/staging/speakup/i18n.c +++ b/drivers/staging/speakup/i18n.c @@ -470,8 +470,7 @@ static char *find_specifier_end(char *input) input++; /* Advance over %. */ input = skip_flags(input); input = skip_width(input); - input = skip_conversion(input); - return input; + return skip_conversion(input); } /* -- 2.17.1