shm: remove dead code

Coverity 1139683
This commit is contained in:
Vincent Penquerc'h 2014-04-09 11:00:22 +01:00
parent 517252e110
commit 5feeee62c8

View file

@ -725,15 +725,11 @@ sp_writer_recv (ShmPipe * self, ShmClient * client, void **tag)
if (buf->shm_area->id == cb.area_id &&
buf->offset == cb.payload.ack_buffer.offset) {
return sp_shmbuf_dec (self, buf, prev_buf, client, tag);
break;
}
prev_buf = buf;
}
if (!buf)
return -2;
break;
return -2;
default:
return -99;
}