ivshmem-net: Silence compiler warning
At least Linaro's gcc 6.3 does not see the initialization and usage dependency of fhead and num. Let's silence this false positive. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> (cherry picked from commit 4d067d37d835c35e8f85481b97c51f20b713ae71)5.4-rM2-2.2.x-imx-squashed
parent
0de9da4365
commit
a9a6524d83
|
@ -356,6 +356,7 @@ static void ivshm_net_tx_clean(struct net_device *ndev)
|
|||
last = tx->last_used_idx;
|
||||
|
||||
fdesc = NULL;
|
||||
fhead = 0;
|
||||
num = 0;
|
||||
|
||||
while (last != used_idx) {
|
||||
|
|
Loading…
Reference in New Issue