[media] dvb: get rid of enum dmx_success
This enum is not actually used anymore. The only value used from the enum is DMX_OK, passed as a parameter on two callbacks. Yet, this value is not used anywhere. So, just remove it. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
@@ -11,20 +11,6 @@ DVB device driver writers. The header file for this API is named <constant>demux
|
||||
<title>Kernel Demux Data Types</title>
|
||||
|
||||
|
||||
<section id="dmx_success_t">
|
||||
<title>dmx_success_t</title>
|
||||
<programlisting>
|
||||
typedef enum {
|
||||
DMX_OK = 0, /⋆ Received Ok ⋆/
|
||||
DMX_LENGTH_ERROR, /⋆ Incorrect length ⋆/
|
||||
DMX_OVERRUN_ERROR, /⋆ Receiver ring buffer overrun ⋆/
|
||||
DMX_CRC_ERROR, /⋆ Incorrect CRC ⋆/
|
||||
DMX_FRAME_ERROR, /⋆ Frame alignment error ⋆/
|
||||
DMX_FIFO_ERROR, /⋆ Receiver FIFO overrun ⋆/
|
||||
DMX_MISSED_ERROR /⋆ Receiver missed packet ⋆/
|
||||
} dmx_success_t;
|
||||
</programlisting>
|
||||
|
||||
</section>
|
||||
<section id="ts_filter_types">
|
||||
<title>TS filter types</title>
|
||||
@@ -143,22 +129,19 @@ should be kept identical) to the types in the demux device.
|
||||
size_t buffer1_length,
|
||||
__u8 ⋆ buffer2,
|
||||
size_t buffer2_length,
|
||||
dmx_ts_feed_t⋆ source,
|
||||
dmx_success_t success);
|
||||
dmx_ts_feed_t⋆ source)
|
||||
|
||||
typedef int (⋆dmx_section_cb) ( __u8 ⋆ buffer1,
|
||||
size_t buffer1_len,
|
||||
__u8 ⋆ buffer2,
|
||||
size_t buffer2_len,
|
||||
dmx_section_filter_t ⋆ source,
|
||||
dmx_success_t success);
|
||||
dmx_section_filter_t ⋆ source);
|
||||
|
||||
typedef int (⋆dmx_pes_cb) ( __u8 ⋆ buffer1,
|
||||
size_t buffer1_len,
|
||||
__u8 ⋆ buffer2,
|
||||
size_t buffer2_len,
|
||||
dmx_pes_filter_t⋆ source,
|
||||
dmx_success_t success);
|
||||
dmx_pes_filter_t⋆ source);
|
||||
|
||||
/⋆--------------------------------------------------------------------------⋆/
|
||||
/⋆ DVB Front-End ⋆/
|
||||
@@ -523,7 +506,7 @@ role="subsection"><title>dmx_ts_cb()</title>
|
||||
align="char">
|
||||
<para>int dmx_ts_cb(__u8⋆ buffer1, size_t buffer1_length,
|
||||
__u8⋆ buffer2, size_t buffer2_length, dmx_ts_feed_t⋆
|
||||
source, dmx_success_t success);</para>
|
||||
source);</para>
|
||||
</entry>
|
||||
</row></tbody></tgroup></informaltable>
|
||||
<para>PARAMETERS
|
||||
@@ -563,14 +546,6 @@ role="subsection"><title>dmx_ts_cb()</title>
|
||||
</entry><entry
|
||||
align="char">
|
||||
<para>Indicates which TS feed is the source of the callback.</para>
|
||||
</entry>
|
||||
</row><row><entry
|
||||
align="char">
|
||||
<para>dmx_success_t
|
||||
success</para>
|
||||
</entry><entry
|
||||
align="char">
|
||||
<para>Indicates if there was an error in TS reception.</para>
|
||||
</entry>
|
||||
</row></tbody></tgroup></informaltable>
|
||||
<para>RETURNS
|
||||
@@ -623,8 +598,7 @@ role="subsection"><title>dmx_section_cb()</title>
|
||||
align="char">
|
||||
<para>int dmx_section_cb(__u8⋆ buffer1, size_t
|
||||
buffer1_length, __u8⋆ buffer2, size_t
|
||||
buffer2_length, dmx_section_filter_t⋆ source,
|
||||
dmx_success_t success);</para>
|
||||
buffer2_length, dmx_section_filter_t⋆ source);</para>
|
||||
</entry>
|
||||
</row></tbody></tgroup></informaltable>
|
||||
<para>PARAMETERS
|
||||
@@ -668,14 +642,6 @@ role="subsection"><title>dmx_section_cb()</title>
|
||||
</entry><entry
|
||||
align="char">
|
||||
<para>Indicates the filter that triggered the callback.</para>
|
||||
</entry>
|
||||
</row><row><entry
|
||||
align="char">
|
||||
<para>dmx_success_t
|
||||
success</para>
|
||||
</entry><entry
|
||||
align="char">
|
||||
<para>Indicates if there was an error in section reception.</para>
|
||||
</entry>
|
||||
</row></tbody></tgroup></informaltable>
|
||||
<para>RETURNS
|
||||
|
Reference in New Issue
Block a user