From patchwork Wed Jan 11 10:52:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 13096406 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26DD8C678D5 for ; Wed, 11 Jan 2023 10:54:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238786AbjAKKx5 (ORCPT ); Wed, 11 Jan 2023 05:53:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238513AbjAKKxW (ORCPT ); Wed, 11 Jan 2023 05:53:22 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3655A25C2 for ; Wed, 11 Jan 2023 02:53:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E7824B81BB3 for ; Wed, 11 Jan 2023 10:53:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4628C433F0; Wed, 11 Jan 2023 10:53:14 +0000 (UTC) From: Hans Verkuil To: linux-media@vger.kernel.org Cc: Lad Prabhakar , Hans Verkuil Subject: [PATCH 12/13] dvb_demux.h: remove av7110-private fields Date: Wed, 11 Jan 2023 11:52:57 +0100 Message-Id: <20230111105258.547471-13-hverkuil-cisco@xs4all.nl> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111105258.547471-1-hverkuil-cisco@xs4all.nl> References: <20230111105258.547471-1-hverkuil-cisco@xs4all.nl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This driver has been removed, so we can remove these private fields as well. Signed-off-by: Hans Verkuil --- drivers/media/dvb-core/dvb_demux.c | 2 -- include/media/dvb_demux.h | 7 ------- 2 files changed, 9 deletions(-) diff --git a/drivers/media/dvb-core/dvb_demux.c b/drivers/media/dvb-core/dvb_demux.c index 398c86279b5b..b380da460295 100644 --- a/drivers/media/dvb-core/dvb_demux.c +++ b/drivers/media/dvb-core/dvb_demux.c @@ -1273,8 +1273,6 @@ int dvb_dmx_init(struct dvb_demux *dvbdemux) INIT_LIST_HEAD(&dvbdemux->feed_list); - dvbdemux->playing = 0; - dvbdemux->recording = 0; dvbdemux->tsbufp = 0; if (!dvbdemux->check_crc32) diff --git a/include/media/dvb_demux.h b/include/media/dvb_demux.h index 3b6aeca7a49e..1580de3dbc80 100644 --- a/include/media/dvb_demux.h +++ b/include/media/dvb_demux.h @@ -86,9 +86,6 @@ struct dvb_demux_filter { int index; enum dvb_dmx_state state; enum dvb_dmx_filter_type type; - - /* private: used only by av7110 */ - u16 hw_handle; }; /** @@ -235,10 +232,6 @@ struct dvb_demux { ktime_t speed_last_time; /* for TS speed check */ uint32_t speed_pkts_cnt; /* for TS speed check */ - - /* private: used only on av7110 */ - int playing; - int recording; }; /**