ramips: Remove unnecessary skb_put
[openwrt.git] / package / lqtapi / src / mps / mps-msg.c
1
2
3 int mps_message_send(struct mps_fifo *fifo, struct mps_message *msg)
4 {
5 }
6
7 int mps_message_recv(struct mps_fifo *fifo, struct mps_message *msg)
8 {
9 mps_fifo_out(fifo, &msg->header, sizeof(msg->header));
10 mps_fifo_out(fifo, &msg->data, mps_message_size(msg));
11 }
12
13 struct mps_message *msg mps_message_recv_alloc(struct mps_fifo *fifo)
14 {
15 struct mps_message *msg;
16
17 mps_fifo_out(fifo, &msg->header, sizeof(msg->header));
18 mps_fifo_out(fifo, &msg->data, mps_message_size(msg));
19 }
This page took 0.039901 seconds and 5 git commands to generate.