Commit 6b2b91ff authored by Max Kellermann's avatar Max Kellermann

input/mms: removed empty method buffer()

input_stream_buffer() has a check for "buffer==NULL", so we don't need an explicit empty implementation.
parent 733962db
...@@ -115,13 +115,6 @@ input_mms_eof(struct input_stream *is) ...@@ -115,13 +115,6 @@ input_mms_eof(struct input_stream *is)
return m->eof; return m->eof;
} }
static int
input_mms_buffer(G_GNUC_UNUSED struct input_stream *is,
G_GNUC_UNUSED GError **error_r)
{
return 0;
}
static bool static bool
input_mms_seek(G_GNUC_UNUSED struct input_stream *is, input_mms_seek(G_GNUC_UNUSED struct input_stream *is,
G_GNUC_UNUSED goffset offset, G_GNUC_UNUSED int whence, G_GNUC_UNUSED goffset offset, G_GNUC_UNUSED int whence,
...@@ -134,7 +127,6 @@ const struct input_plugin input_plugin_mms = { ...@@ -134,7 +127,6 @@ const struct input_plugin input_plugin_mms = {
.name = "mms", .name = "mms",
.open = input_mms_open, .open = input_mms_open,
.close = input_mms_close, .close = input_mms_close,
.buffer = input_mms_buffer,
.read = input_mms_read, .read = input_mms_read,
.eof = input_mms_eof, .eof = input_mms_eof,
.seek = input_mms_seek, .seek = input_mms_seek,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment