Skip to content

Commit 286fe1c

Browse files
committed
media: dmx.h: get rid of DMX_GET_CAPS
There's no driver currently using it; it is also not documented about what it would be supposed to do. So, get rid of it. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 791edca commit 286fe1c

File tree

5 files changed

+0
-62
lines changed

5 files changed

+0
-62
lines changed

Documentation/media/dmx.h.rst.exceptions

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ replace define DMX_ONESHOT :c:type:`dmx_sct_filter_params`
5858
replace define DMX_IMMEDIATE_START :c:type:`dmx_sct_filter_params`
5959

6060
# some typedefs should point to struct/enums
61-
replace typedef dmx_caps_t :c:type:`dmx_caps`
6261
replace typedef dmx_filter_t :c:type:`dmx_filter`
6362
replace typedef dmx_pes_type_t :c:type:`dmx_pes_type`
6463
replace typedef dmx_input_t :c:type:`dmx_input`

Documentation/media/uapi/dvb/dmx-get-caps.rst

Lines changed: 0 additions & 41 deletions
This file was deleted.

Documentation/media/uapi/dvb/dmx_fcalls.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Demux Function Calls
2121
dmx-get-event
2222
dmx-get-stc
2323
dmx-get-pes-pids
24-
dmx-get-caps
2524
dmx-set-source
2625
dmx-add-pid
2726
dmx-remove-pid

Documentation/media/uapi/dvb/dmx_types.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -199,18 +199,6 @@ struct dmx_stc
199199
};
200200
201201
202-
struct dmx_caps
203-
===============
204-
205-
.. c:type:: dmx_caps
206-
207-
.. code-block:: c
208-
209-
typedef struct dmx_caps {
210-
__u32 caps;
211-
int num_decoders;
212-
} dmx_caps_t;
213-
214202
215203
enum dmx_source
216204
===============

include/uapi/linux/dvb/dmx.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,6 @@ struct dmx_pes_filter_params
115115
__u32 flags;
116116
};
117117

118-
struct dmx_caps {
119-
__u32 caps;
120-
int num_decoders;
121-
};
122-
123118
enum dmx_source {
124119
DMX_SOURCE_FRONT0 = 0,
125120
DMX_SOURCE_FRONT1,
@@ -143,7 +138,6 @@ struct dmx_stc {
143138
#define DMX_SET_PES_FILTER _IOW('o', 44, struct dmx_pes_filter_params)
144139
#define DMX_SET_BUFFER_SIZE _IO('o', 45)
145140
#define DMX_GET_PES_PIDS _IOR('o', 47, __u16[5])
146-
#define DMX_GET_CAPS _IOR('o', 48, struct dmx_caps)
147141
#define DMX_SET_SOURCE _IOW('o', 49, enum dmx_source)
148142
#define DMX_GET_STC _IOWR('o', 50, struct dmx_stc)
149143
#define DMX_ADD_PID _IOW('o', 51, __u16)
@@ -156,7 +150,6 @@ typedef enum dmx_output dmx_output_t;
156150
typedef enum dmx_input dmx_input_t;
157151
typedef enum dmx_ts_pes dmx_pes_type_t;
158152
typedef struct dmx_filter dmx_filter_t;
159-
typedef struct dmx_caps dmx_caps_t;
160153
typedef enum dmx_source dmx_source_t;
161154

162155
#endif

0 commit comments

Comments
 (0)