From patchwork Sat Mar 22 13:01:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Frank_Sch=C3=A4fer?= X-Patchwork-Id: 3877571 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1A755BF540 for ; Sat, 22 Mar 2014 13:00:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4BAC42026C for ; Sat, 22 Mar 2014 13:00:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46119202D1 for ; Sat, 22 Mar 2014 13:00:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750934AbaCVNAi (ORCPT ); Sat, 22 Mar 2014 09:00:38 -0400 Received: from mail-ee0-f50.google.com ([74.125.83.50]:60874 "EHLO mail-ee0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738AbaCVNAf (ORCPT ); Sat, 22 Mar 2014 09:00:35 -0400 Received: by mail-ee0-f50.google.com with SMTP id c13so2700888eek.37 for ; Sat, 22 Mar 2014 06:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=b/JBT2n40GuCy0lL66+oiOLmpCyuEp6Nrn5aRsjx568=; b=WtGRmR3zVhiI/xzDxWAk70aP9ldJPEHCAqpKg3ytVRkcdyg87y3iHOYaFSjB76xH1K mmJR+nF6wfON80DETe9BS+mlhbeFJNvi/4vabBulKGImChZliN4g24N3bBm5//IC4yKO eaBmOouqcRqHB04b7DdtyQoz8BSLIDy4eHTtDv/z2up5sxQUP0QctHY4j5ZfZO1sSOuJ McmteNqNsHA4F6D7/MCGWiWZobCtSkzZa6F/s9BkhTYqHtLTTLMecIwWOYot/Pcq1/bT XFJE9E6r9arC7gg/Gs51p+4cfzeBHNklss9xEAvuVO9ONM10pLkBsKrU2vWe+hy4c5sF b2DA== X-Received: by 10.14.4.201 with SMTP id 49mr53969633eej.13.1395493234044; Sat, 22 Mar 2014 06:00:34 -0700 (PDT) Received: from Athlon64X2-5000.site (ip-81-210-162-48.unitymediagroup.de. [81.210.162.48]) by mx.google.com with ESMTPSA id h47sm10902164eey.13.2014.03.22.06.00.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Mar 2014 06:00:33 -0700 (PDT) From: =?UTF-8?q?Frank=20Sch=C3=A4fer?= To: m.chehab@samsung.com Cc: linux-media@vger.kernel.org, =?UTF-8?q?Frank=20Sch=C3=A4fer?= Subject: [PATCH 3/5] em28xx: remove some unused fields from struct em28xx Date: Sat, 22 Mar 2014 14:01:01 +0100 Message-Id: <1395493263-2158-3-git-send-email-fschaefer.oss@googlemail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1395493263-2158-1-git-send-email-fschaefer.oss@googlemail.com> References: <1395493263-2158-1-git-send-email-fschaefer.oss@googlemail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h index 2051fc9..e95f4eb 100644 --- a/drivers/media/usb/em28xx/em28xx.h +++ b/drivers/media/usb/em28xx/em28xx.h @@ -618,7 +618,6 @@ struct em28xx { unsigned hscale; /* horizontal scale factor (see datasheet) */ unsigned vscale; /* vertical scale factor (see datasheet) */ int interlaced; /* 1=interlace fileds, 0=just top fileds */ - unsigned int video_bytesread; /* Number of bytes read */ unsigned long hash; /* eeprom hash - for boards with generic ID */ unsigned long i2c_hash; /* i2c devicelist hash - @@ -638,8 +637,6 @@ struct em28xx { /* locks */ struct mutex lock; struct mutex ctrl_urb_lock; /* protects urb_buf */ - /* spinlock_t queue_lock; */ - struct list_head inqueue, outqueue; struct video_device *vbi_dev; struct video_device *radio_dev; @@ -663,7 +660,6 @@ struct em28xx { spinlock_t slock; unsigned int field_count; - unsigned int vbi_field_count; /* usb transfer */ struct usb_device *udev; /* the usb device */