Peter Maydell
a6d6e37901
hw/net/npcm_gmac.c: Drop 'buf' local variable
...
We use the local variable 'buf' only when we call dma_memory_read(),
and it is always set to &tx_send_buffer[prev_buf_size] immediately
before both of those calls. So remove the variable and pass
tx_send_buffer + prev_buf_size to dma_memory_read().
This fixes in passing a place where we set buf = tx_send_buffer
but never used that value because we always updated buf to
something else later before using it.
Coverity: CID 1534027
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Jason Wang <jasowang@redhat.com >
2025-07-21 10:21:51 +08:00
..
2025-07-16 14:18:48 +02:00
2025-07-15 02:56:40 -04:00
2025-04-25 17:00:41 +02:00
2025-04-25 17:00:41 +02:00
2025-07-16 07:13:40 -04:00
2025-06-12 13:40:15 -04:00
2025-04-25 17:00:41 +02:00
2025-07-15 02:56:39 -04:00
2025-07-15 02:56:39 -04:00
2025-07-16 07:13:40 -04:00
2025-04-25 17:00:41 +02:00
2025-07-15 02:56:40 -04:00
2025-07-16 07:07:05 -04:00
2025-06-12 13:40:15 -04:00
2025-04-25 17:00:41 +02:00
2025-06-10 12:59:09 +02:00
2025-04-25 17:00:41 +02:00
2025-06-12 13:40:15 -04:00
2025-05-14 14:29:47 +01:00
2025-07-16 07:00:47 -04:00
2025-04-25 17:00:41 +02:00
2025-05-14 05:39:15 -04:00
2025-07-15 00:24:26 +02:00
2025-04-25 17:00:41 +02:00
2025-04-25 17:00:41 +02:00
2025-05-09 23:49:26 +03:00
2025-07-14 09:16:40 -04:00
2025-04-25 17:00:41 +02:00
2025-07-15 02:56:40 -04:00
2025-07-15 00:24:26 +02:00
2025-07-15 00:24:26 +02:00
2025-07-15 00:24:26 +02:00
2025-07-21 10:21:51 +08:00
2025-04-25 17:00:41 +02:00
2025-07-02 18:26:27 +02:00
2025-05-30 09:52:08 +02:00
2025-04-25 17:00:41 +02:00
2025-06-11 14:01:58 +02:00
2025-04-25 17:00:41 +02:00
2025-07-15 02:56:40 -04:00
2025-07-11 10:37:36 -03:00
2025-04-25 17:00:41 +02:00
2025-07-14 09:16:40 -04:00
2025-04-30 20:44:20 +02:00
2025-04-25 17:00:41 +02:00
2025-07-15 02:56:39 -04:00
2025-07-15 00:25:21 +02:00
2025-04-25 17:00:41 +02:00
2025-07-15 02:56:39 -04:00
2025-04-30 12:45:05 -07:00
2025-07-15 02:56:39 -04:00
2025-04-25 17:00:41 +02:00
2025-04-25 17:00:41 +02:00
2025-05-05 09:38:55 +02:00
2025-06-06 14:32:54 +02:00
2025-04-25 17:00:41 +02:00
2025-04-25 17:00:41 +02:00
2025-07-13 12:08:07 +03:00
2025-06-12 13:40:16 -04:00
2025-07-13 12:08:07 +03:00
2025-07-16 07:07:44 -04:00
2025-07-15 17:11:12 +02:00
2025-07-16 07:00:47 -04:00
2025-07-15 02:56:39 -04:00
2025-04-25 17:00:41 +02:00
2025-05-12 11:11:27 -04:00
2025-04-25 17:00:41 +02:00
2025-06-26 08:55:38 +02:00
2025-06-26 08:55:38 +02:00