Remove unnecessary locking

The lock didn't really protect anything but since it was not explicitly
initialized, it caused a hang.
This commit is contained in:
Markus Mäkelä
2018-05-22 15:22:29 +03:00
parent 3fce61a615
commit 6159f863ce
3 changed files with 0 additions and 8 deletions

View File

@ -239,7 +239,6 @@ struct AvroSession
enum avro_data_format format; /*< Stream JSON or Avro data */
char* uuid; /*< Client UUID */
SPINLOCK catch_lock; /*< Event catchup lock */
SPINLOCK file_lock; /*< Protects rses_deleted */
Avro* router; /*< Pointer to the owning router */
MAXAVRO_FILE* file_handle; /*< Current open file handle */
uint64_t last_sent_pos; /*< The last record we sent */