aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-05-18 21:20:18 +0200
committerMax Kellermann <max@duempel.org>2010-05-18 21:20:31 +0200
commit6b2b91ff01050ca79256026e5f92ba6da93fc5cf (patch)
treecd5cfe7d4a33612059da6bfe3b2b701970c335b5
parent733962db2fb6cd3dc17aaf6630414823f4cf84e3 (diff)
downloadmpd-6b2b91ff01050ca79256026e5f92ba6da93fc5cf.tar.gz
mpd-6b2b91ff01050ca79256026e5f92ba6da93fc5cf.tar.xz
mpd-6b2b91ff01050ca79256026e5f92ba6da93fc5cf.zip
input/mms: removed empty method buffer()
input_stream_buffer() has a check for "buffer==NULL", so we don't need an explicit empty implementation.
-rw-r--r--src/input/mms_input_plugin.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/input/mms_input_plugin.c b/src/input/mms_input_plugin.c
index 8d4f7591d..2fe9b6bb2 100644
--- a/src/input/mms_input_plugin.c
+++ b/src/input/mms_input_plugin.c
@@ -115,13 +115,6 @@ input_mms_eof(struct input_stream *is)
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
input_mms_seek(G_GNUC_UNUSED struct input_stream *is,
G_GNUC_UNUSED goffset offset, G_GNUC_UNUSED int whence,
@@ -134,7 +127,6 @@ const struct input_plugin input_plugin_mms = {
.name = "mms",
.open = input_mms_open,
.close = input_mms_close,
- .buffer = input_mms_buffer,
.read = input_mms_read,
.eof = input_mms_eof,
.seek = input_mms_seek,