mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-17 01:04:40 +08:00
Remove useless instruction.
This commit is contained in:
parent
97046eaf3f
commit
5e8241cb3a
@ -430,14 +430,11 @@ static gboolean gst_avdtp_sink_conf_recv_stream_fd(
|
||||
static gboolean server_callback(GIOChannel *chan,
|
||||
GIOCondition cond, gpointer data)
|
||||
{
|
||||
GstAvdtpSink *sink;
|
||||
|
||||
if (cond & G_IO_HUP || cond & G_IO_NVAL)
|
||||
return FALSE;
|
||||
else if (cond & G_IO_ERR) {
|
||||
sink = GST_AVDTP_SINK(data);
|
||||
GST_WARNING_OBJECT(sink, "Untreated callback G_IO_ERR");
|
||||
}
|
||||
else if (cond & G_IO_ERR)
|
||||
GST_WARNING_OBJECT(GST_AVDTP_SINK(data),
|
||||
"Untreated callback G_IO_ERR");
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user