Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

NTB: ntb_transport: Remove unused 'retries' field from ntb_queue_entry

Drop the unused field 'retries' from struct ntb_queue_entry for
simplicity's sake.

Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Jon Mason <jdmason@kudzu.us>

authored by

Koichiro Den and committed by
Jon Mason
b36490b5 05f7e89a

+2 -9
+2 -9
drivers/ntb/ntb_transport.c
··· 113 113 void *buf; 114 114 unsigned int len; 115 115 unsigned int flags; 116 - int retries; 117 116 int errors; 118 117 unsigned int tx_index; 119 118 unsigned int rx_index; ··· 1630 1631 if (res < 0) 1631 1632 goto err; 1632 1633 1633 - if (!entry->retries) 1634 - qp->rx_async++; 1635 - 1634 + qp->rx_async++; 1636 1635 return; 1637 1636 1638 1637 err: ··· 1908 1911 if (res < 0) 1909 1912 goto err; 1910 1913 1911 - if (!entry->retries) 1912 - qp->tx_async++; 1913 - 1914 + qp->tx_async++; 1914 1915 return; 1915 1916 1916 1917 err: ··· 2269 2274 entry->buf = data; 2270 2275 entry->len = len; 2271 2276 entry->flags = 0; 2272 - entry->retries = 0; 2273 2277 entry->errors = 0; 2274 2278 entry->rx_index = 0; 2275 2279 ··· 2318 2324 entry->len = len; 2319 2325 entry->flags = 0; 2320 2326 entry->errors = 0; 2321 - entry->retries = 0; 2322 2327 entry->tx_index = 0; 2323 2328 2324 2329 rc = ntb_process_tx(qp, entry);