aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 69f7a1a393d8..9c21548e5b31 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1798,7 +1798,7 @@ EXPORT_SYMBOL(netif_set_real_num_rx_queues);
1798 * This routine should set an upper limit on the number of RSS queues 1798 * This routine should set an upper limit on the number of RSS queues
1799 * used by default by multiqueue devices. 1799 * used by default by multiqueue devices.
1800 */ 1800 */
1801int netif_get_num_default_rss_queues() 1801int netif_get_num_default_rss_queues(void)
1802{ 1802{
1803 return min_t(int, DEFAULT_MAX_NUM_RSS_QUEUES, num_online_cpus()); 1803 return min_t(int, DEFAULT_MAX_NUM_RSS_QUEUES, num_online_cpus());
1804} 1804}