port-serial: remove unneeded method

This commit is contained in:
Aleksander Morgado
2013-11-19 20:19:22 +01:00
parent a2f4fbe373
commit 6fc14f6611
2 changed files with 0 additions and 10 deletions

View File

@@ -1571,14 +1571,6 @@ mm_port_serial_flash (MMPortSerial *self,
ctx->flash_id = g_timeout_add (flash_time, (GSourceFunc)flash_do, self);
}
gboolean
mm_port_serial_get_flash_ok (MMPortSerial *self)
{
g_return_val_if_fail (MM_IS_PORT_SERIAL (self), TRUE);
return self->priv->flash_ok;
}
/*****************************************************************************/
MMPortSerial *

View File

@@ -123,8 +123,6 @@ gboolean mm_port_serial_flash_finish (MMPortSerial *self,
GError **error);
void mm_port_serial_flash_cancel (MMPortSerial *self);
gboolean mm_port_serial_get_flash_ok (MMPortSerial *self);
void mm_port_serial_command (MMPortSerial *self,
GByteArray *command,
guint32 timeout_seconds,