diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-06 19:53:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-06 19:53:02 -0300 |
commit | 2f684b239cdbfcc1160392645a8fc056a68847ca (patch) | |
tree | 0170756bf0fc2f9e59e1b91cb75d77d012f73980 /Documentation/DocBook/media | |
parent | 4bc645df7d46253836062ecb1e2969034d5ebd11 (diff) |
[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>
Diffstat (limited to 'Documentation/DocBook/media')
-rw-r--r-- | Documentation/DocBook/media/dvb/kdapi.xml | 44 |
1 files changed, 5 insertions, 39 deletions
diff --git a/Documentation/DocBook/media/dvb/kdapi.xml b/Documentation/DocBook/media/dvb/kdapi.xml index 6efc3ab7944e..1acae6730151 100644 --- a/Documentation/DocBook/media/dvb/kdapi.xml +++ b/Documentation/DocBook/media/dvb/kdapi.xml @@ -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 @@ -564,14 +547,6 @@ role="subsection"><title>dmx_ts_cb()</title> 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 </para> @@ -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 @@ -669,14 +643,6 @@ role="subsection"><title>dmx_section_cb()</title> 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 </para> |