From patchwork Thu Jul 7 12:21:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amber Jain X-Patchwork-Id: 7411 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Thu, 07 Jul 2011 12:52:41 -0300 Received: from mchehab by infradead.org with local (Exim 4.72) (envelope-from ) id 1Qeqsb-00067K-6l for mchehab@infradead.org; Thu, 07 Jul 2011 12:52:41 -0300 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Thu, 07 Jul 2011 12:52:41 -0300 (BRT) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QeqqO-00035X-FM for mchehab@casper.infradead.org; Thu, 07 Jul 2011 15:50:27 +0000 Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QenjL-0003Aq-1y; Thu, 07 Jul 2011 12:30:55 +0000 Received: from vger.kernel.org ([209.132.180.67]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qenig-0002IV-Iv; Thu, 07 Jul 2011 12:30:14 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756231Ab1GGMVd (ORCPT + 1 other); Thu, 7 Jul 2011 08:21:33 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:52290 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755675Ab1GGMVd (ORCPT ); Thu, 7 Jul 2011 08:21:33 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p67CLWF0029975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 7 Jul 2011 07:21:32 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep33.itg.ti.com (8.13.7/8.13.8) with ESMTP id p67CLW7E006868 for ; Thu, 7 Jul 2011 07:21:32 -0500 (CDT) Received: from dlee74.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p67CLW8r007650 for ; Thu, 7 Jul 2011 07:21:32 -0500 (CDT) Received: from dlelxv24.itg.ti.com (172.17.1.199) by dlee74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 8.3.106.1; Thu, 7 Jul 2011 07:21:32 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id p67CLWS7008869; Thu, 7 Jul 2011 07:21:32 -0500 Received: from localhost (a0393674u.apr.dhcp.ti.com [172.24.137.179]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id p67CLUf14406; Thu, 7 Jul 2011 07:21:30 -0500 (CDT) From: Amber Jain To: CC: hvaibhav@ti.com, Amber Jain , Samreen Subject: [PATCH v2 3/3] V4l2: OMAP: VOUT: Minor Cleanup, removing the unnecessary code. Date: Thu, 7 Jul 2011 17:51:18 +0530 Message-ID: <1310041278-8810-4-git-send-email-amber@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1310041278-8810-1-git-send-email-amber@ti.com> References: <1310041278-8810-1-git-send-email-amber@ti.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110707_165024_852408_8B797495 X-CRM114-Status: GOOD ( 13.94 ) X-Spam-Score: 2.0 (++) X-Spam-Report: SpamAssassin version 3.3.2-r929478 on casper.infradead.org summary: Content analysis details: (2.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.8 KB_DATE_CONTAINS_TAB KB_DATE_CONTAINS_TAB 1.2 TAB_IN_FROM From starts with a tab -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: Minor changes to remove the unused code from omap_vout driver. Signed-off-by: Amber Jain Signed-off-by: Samreen --- Changes from v1: - None. drivers/media/video/omap/omap_vout.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index 7d3410a..548f4cd 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video/omap/omap_vout.c @@ -1041,10 +1041,7 @@ static int vidioc_enum_fmt_vid_out(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) { int index = fmt->index; - enum v4l2_buf_type type = fmt->type; - fmt->index = index; - fmt->type = type; if (index >= NUM_OUTPUT_FORMATS) return -EINVAL; @@ -1213,10 +1210,7 @@ static int vidioc_enum_fmt_vid_overlay(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) { int index = fmt->index; - enum v4l2_buf_type type = fmt->type; - fmt->index = index; - fmt->type = type; if (index >= NUM_OUTPUT_FORMATS) return -EINVAL;