Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3325383yba; Sat, 18 May 2019 14:40:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkcYb2E8nsMqYjs99igJ0vk5jXRxUIyAgak52d0sYSLqrujIvu5x5cnX4C4Ae46OaK1Mfe X-Received: by 2002:a62:ac0c:: with SMTP id v12mr70128939pfe.59.1558215633167; Sat, 18 May 2019 14:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558215633; cv=none; d=google.com; s=arc-20160816; b=E/rIDlv3TTmtO6PR0cc9od6YAOjWbZRHgCZZWUlfRcHz0AsZ3rMv8FCmaDBBCeeHS8 e8ISN1tI8tbPXQn0Oy86Og7+E/fEwVv+rx2WzYpbcUB6AmED51D6NYcDuCz86UJxyo0o aLzC2an6z8s5fXwwzjIVXCEMY5UbSTtR2E8u66cD6NXSM4Oa7W5sDD6GIQKZ5i0VBSkk rKUPHMllLZnLPjFocz55eE9GSgWfVvPqcube6aAEMPE8Fr9qk444XvDg5iX5itvrJpEo meY/wgU9E2/3xl/m4xYTzYbjCc5fZFnLi6C/8DvA1FlrB0trMe77sxEyQG+xklEIZCqh 1Hfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=GjVQ36VwzFJ7223GVX+W1QUwbbB9XFPvg3hASkJmDUE=; b=nFASSGxhCWdQpVeiBODFw34Hjuz4Pkqq3OklS565jDUlxU0wrR0gepjwsKJwSmKJfe 5RSgVI+QKSIE2fnSdpfUVNLudElmHRZk2/H20EHK99JS9lrHlHI0PZyHLv+QSzUeJvvl HsaoNgmwXLfHQI+tZQk2QrqNMCECBM6D9N1C4N8o+N6nwgMW8/xmBrvLsxWiqKsS/4tt p2/oKjy92HFYr+1lC7wM77u9boXQVzTthLbqRacEjHg9NeKGpLhGrDuER/k/gkKiYoYH R879LuIgtrmdcL+O6oxNIdy5suypfmh/jXnbXJSBjeNCnc0CwUv9nE2zxHH8o+mlHkqN bF4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kRi08ubs; 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 c13si12335650plo.175.2019.05.18.14.40.16; Sat, 18 May 2019 14:40:33 -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=kRi08ubs; 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 S1729628AbfERVBI (ORCPT + 99 others); Sat, 18 May 2019 17:01:08 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:42943 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728387AbfERVBI (ORCPT ); Sat, 18 May 2019 17:01:08 -0400 Received: by mail-lj1-f195.google.com with SMTP id 188so9134147ljf.9; Sat, 18 May 2019 14:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GjVQ36VwzFJ7223GVX+W1QUwbbB9XFPvg3hASkJmDUE=; b=kRi08ubsnM+ykN86OGVCMysxcVyFgiHLV0b9Fr5ew9x6FdqJsy8RjcIcHaTPXgYKmm d9J29YZ8wKZ/wqisIZCggD2OTJlDFI4EqxAo5uyb91meiXhXpkATPV+mqDRW3cmyPHkX 3XbgcF7MFCIgtbuwm+ReN7wbA62uj7EOJoMwVYslAIsKcLC7kxKGjMpkrLm8pFn0WumH oUnqD/c5nHDKWSPTpB74hAfowS5FbTi6RLxKw1bqw7mIUlNbTJJQQf/H3gdEnOrDa1uE qZc0C0sQ7lBMw6/Ew01qw9Jk2fXF8lBI1M64m//I24dV9uzG2Ydm6ayj7oXjhOe62ZLV 9NDg== 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=GjVQ36VwzFJ7223GVX+W1QUwbbB9XFPvg3hASkJmDUE=; b=DP0bXifh4c7m/hS+0eXu6r80hH0iq1iNfl/uA2kYpLSghynVC5tHuRr+kB4LYd4P21 np8rM54eSD/ic0wU26P4VyL+nhDJ0kSyMHoh7fW01UP1cevmnh2uiv0i+fcH+A1yIkKc GD/E19vjMfwbuYOiM7UlOuE0/V6bXcCN9Bo/q3kRw3pCHAYdZuKh4F8J9KdaIu85NWNv oKYVxc7minzIIKNUzu89ZqVWq9DmKsGIb7UTgCZ8XVXp2kqYUqBwu33D+bb0S8MGwTnI 5GKTIJyXHVGn3LvIH2u2+4XwHko2RvUAhboUJECD80RoWfiG03/7lfoOv8cQwVhSGP9G 6z+A== X-Gm-Message-State: APjAAAUN4P/ejIRFv7GfYpbYqc9uaF2NVV2/tYcNSUoUgyiOaatGJ22J hxMw7HoDJO+1ESl4ABetAUWkgGvvO6u7Q0zAMdE= X-Received: by 2002:a2e:1f02:: with SMTP id f2mr31672771ljf.86.1558213266061; Sat, 18 May 2019 14:01:06 -0700 (PDT) MIME-Version: 1.0 References: <20190518173852.GA1191@hari-Inspiron-1545> In-Reply-To: <20190518173852.GA1191@hari-Inspiron-1545> From: Fabio Estevam Date: Sat, 18 May 2019 18:00:56 -0300 Message-ID: Subject: Re: [PATCH] staging: media: imx: fix Unneeded variable: "ret". Return "0" To: Hariprasad Kelam Cc: Steve Longerbeam , Philipp Zabel , Mauro Carvalho Chehab , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-media , "open list:STAGING SUBSYSTEM" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 18, 2019 at 2:38 PM Hariprasad Kelam wrote: > > fix below warning reported by coccichec > > drivers/staging/media/imx/imx-media-capture.c:617:5-8: Unneeded > variable: "ret". Return "0" on line 630 > > Signed-off-by: Hariprasad Kelam Reviewed-by: Fabio Estevam Thanks