Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3639109ybg; Fri, 25 Oct 2019 06:59:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwItOkwT6R/1xGVUZVU3l/CACF3ggZnLiuFbl6nUW1PFKFgq5LwYX59hfkXi+PLj+6PFVO8 X-Received: by 2002:a17:906:5381:: with SMTP id g1mr3605294ejo.159.1572011954371; Fri, 25 Oct 2019 06:59:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572011954; cv=none; d=google.com; s=arc-20160816; b=LtmAtSsYU2iRQR7WkWXJgAiBTn+yrTKlAA3Qqz3+6NVMLMbfqR/A+CuXw2ho1PuaW2 4UmeKaYns7VvizzmIS4mQceGbl0QnzdfjEGf63xqns/17x5/COO3VLDDFyDnGW8by+UD Ap1i82GgnhKPnHHgJG9DBfbfEkOOLfPAluLygpXQqWncS8x6L0x8byV/c41l38uFounr Z++EV8C1AuyS11La70CRNDZJZpQosL/Vcx4RxLmBiOQkSzO+cjFpWklCtpaaQzK1r1VE A/eIiRLsgtZY5+bvEp/r7NQaMCnto6+Q37T722ZCKabr4HfCzH/XOXNSNz1gKc9sEWKF ZVRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Eh3QeCRU+KbLxpJwL2S7uImfmKPlDkY/EBxciS/9vrY=; b=gVhXgTqbXjtt3XbJKm8OGje1psEgtj4qm79fElVQJENKVaNkEVpHhCbcYnsrpEjDhL Dmc5eVJXvKa6QmehUMQfQtz06pq73DI78IE5gzj/E4NXk5fYTVTNngniVyy8YUGb80MB s70ni7rlYv3dIYmVWI3TDOTXX6pHB86xevo4PkVwHpGnitzuqWvq8CqnHZIBlq7ZktlO /rCGlvs8QUi0xydxKyB0kp9HBdOCEjzb8ah9V8a2EDEW/tAkECl3oQ7YmiF5y+HYooA+ TWXrp0DZbZqA9DfUPevlUk69q+eMtAxgYI5piX9uXLFK6cRLdjwmkWT2gVGlWHW4T7S2 vWcA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r19si651364ejz.6.2019.10.25.06.58.50; Fri, 25 Oct 2019 06:59:14 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2501914AbfJXNsh (ORCPT + 99 others); Thu, 24 Oct 2019 09:48:37 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:45875 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732240AbfJXNsh (ORCPT ); Thu, 24 Oct 2019 09:48:37 -0400 Received: by mail-lf1-f65.google.com with SMTP id v8so18626013lfa.12; Thu, 24 Oct 2019 06:48:36 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=Eh3QeCRU+KbLxpJwL2S7uImfmKPlDkY/EBxciS/9vrY=; b=VpbZ19QjrvdBp+Yp9H58aK9ZIlx0JFpcl15OdjIFnRPII+GxZwvuippqg4mUgTqKZM lZJHTCmC04JPSP8pd/b6tO5EIaCZ3fSunswB7ZwXhyS2DbULmd9PHsdJyi7muqkfadHh Naiu2nZlUJVuj1btOvZebSkJS12fRBvO1Dp2UvGaKmGhoCPT5k37TVzOxBkQtFxVadtB p4EmetHtomv/7d3hhVCJ2t1ZtikElKN9UGmL20kCbZXRrigdyRkUxh1je/r3Fh9dxAL+ avZ8vSmxm4jDrIZ6BCRniEa6PlszP76M95v+e9VklbUJ6uQ72Elxa+13WItDkY3oZi7Y oCbQ== X-Gm-Message-State: APjAAAVRzTjT6wOqTZ0hekgSbPuznkhNvC11FZ5Q5tsCjl9PEYDMsEvC aWCfx2hHU6A+ynuvOSfYS1s= X-Received: by 2002:a19:7b16:: with SMTP id w22mr10635721lfc.114.1571924915467; Thu, 24 Oct 2019 06:48:35 -0700 (PDT) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id j7sm11907086lfc.16.2019.10.24.06.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 06:48:34 -0700 (PDT) From: Ricardo Ribalda Delgado To: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ricardo Ribalda Delgado Subject: [PATCH] imx214: Remove redundant code Date: Thu, 24 Oct 2019 15:48:32 +0200 Message-Id: <20191024134832.14061-1-ribalda@kernel.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pad is now checked by v4l2_subdev_call_wappers call_g_frame_interval-> check_frame_interval-> check_pad Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/i2c/imx214.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/imx214.c b/drivers/media/i2c/imx214.c index adcaaa8c86d1..4175d06ffd47 100644 --- a/drivers/media/i2c/imx214.c +++ b/drivers/media/i2c/imx214.c @@ -803,7 +803,6 @@ static int imx214_s_stream(struct v4l2_subdev *subdev, int enable) static int imx214_g_frame_interval(struct v4l2_subdev *subdev, struct v4l2_subdev_frame_interval *fival) { - fival->pad = 0; fival->interval.numerator = 1; fival->interval.denominator = IMX214_FPS; -- 2.23.0