]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: Change return value of ena_calc_io_queue_size() to void
authorArthur Kiyanovski <akiyano@amazon.com>
Fri, 7 Jan 2022 20:23:37 +0000 (20:23 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Jan 2022 03:25:50 +0000 (19:25 -0800)
commit9c3b3e8b1b1f7748f8f73da3dda936d694a93e92
treebbd70ede8aa94899dcb2ba78c58daadb88b66b7f
parentf217544ec82823883a17a2a907548540082cb607
net: ena: Change return value of ena_calc_io_queue_size() to void

ena_calc_io_queue_size() always returns 0, therefore make it a
void function and update the calling function to stop checking
the return value.

Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amazon/ena/ena_netdev.c