From patchwork Tue Oct 21 11:07:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Kumar K X-Patchwork-Id: 5114301 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4D6659F374 for ; Tue, 21 Oct 2014 11:08:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 73BDD2012F for ; Tue, 21 Oct 2014 11:08:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8993B20123 for ; Tue, 21 Oct 2014 11:08:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932356AbaJULIN (ORCPT ); Tue, 21 Oct 2014 07:08:13 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:38658 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932347AbaJULIK (ORCPT ); Tue, 21 Oct 2014 07:08:10 -0400 Received: by mail-pa0-f50.google.com with SMTP id kx10so1173188pab.37 for ; Tue, 21 Oct 2014 04:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=1ZNIeQtNF5hIhaRdZaPySEqrZPEub8u5/Ii8YIMb90Y=; b=YfM9TmQNJSeog2R5/umbrcIdo810DHIVUFAdQtzf7sdvX5RwM2jFCa/JNjtKw/wDDa F8s02upESWNOLuyWtgB4akTKam7IyE+z2nF5krA7jd91eibAwVvTSgQmNemvRbRmjcpe XypNgTbeqHsFw4ffC1vd/Ao4i5Hfl9nF/bJYcsm/W4vf4fDmrzjy4U045Ef866wPxYzV y9kDih0SmOwSlw1PuKzft5+wpKJV95KZUKOsiaBQqaKlTv2tAHKAdczGUcjrpDI9r90a 71Lg735TRjuDv2hQQ0DnOg0QmzVnnvyoAAmBaXnM6vBmdM078bZPG/Y2OuOMmE7l1bpR MQjQ== X-Received: by 10.66.252.34 with SMTP id zp2mr34972301pac.64.1413889689791; Tue, 21 Oct 2014 04:08:09 -0700 (PDT) Received: from localhost.localdomain ([14.140.216.146]) by mx.google.com with ESMTPSA id s9sm11680849pdp.1.2014.10.21.04.08.05 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 04:08:08 -0700 (PDT) From: Arun Kumar K To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: k.debski@samsung.com, wuchengli@chromium.org, posciak@chromium.org, arun.m@samsung.com, ihf@chromium.org, prathyush.k@samsung.com, kiran@chromium.org, arunkk.samsung@gmail.com Subject: [PATCH v3 11/13] [media] s5p-mfc: Remove unused alloc field from private buffer struct. Date: Tue, 21 Oct 2014 16:37:05 +0530 Message-Id: <1413889627-8431-12-git-send-email-arun.kk@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1413889627-8431-1-git-send-email-arun.kk@samsung.com> References: <1413889627-8431-1-git-send-email-arun.kk@samsung.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 From: Pawel Osciak This field is no longer used as MFC driver doesn't use vb2 alloc contexts anymore. Signed-off-by: Pawel Osciak Signed-off-by: Kiran AVND Signed-off-by: Arun Kumar K --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_common.h b/drivers/media/platform/s5p-mfc/s5p_mfc_common.h index 5b0c334..15f7663 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_common.h +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_common.h @@ -237,8 +237,6 @@ struct s5p_mfc_variant { /** * struct s5p_mfc_priv_buf - represents internal used buffer - * @alloc: allocation-specific context for each buffer - * (videobuf2 allocator) * @ofs: offset of each buffer, will be used for MFC * @virt: kernel virtual address, only valid when the * buffer accessed by driver @@ -246,7 +244,6 @@ struct s5p_mfc_variant { * @size: size of the buffer */ struct s5p_mfc_priv_buf { - void *alloc; unsigned long ofs; void *virt; dma_addr_t dma;