Commit a55b138b authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

net: Properly define functions with no parameters

Defining a function with no parameters as 'T foo()' is the deprecated
K&R style, and is not strictly equivalent to defining it as 'T foo(void)'.
Signed-off-by: default avatarBen Hutchings <>
Signed-off-by: default avatarDavid S. Miller <>
parent fdd28d73
......@@ -1008,7 +1008,7 @@ e100_send_mdio_bit(unsigned char bit)
static unsigned char
unsigned char bit;
......@@ -1798,7 +1798,7 @@ EXPORT_SYMBOL(netif_set_real_num_rx_queues);
* This routine should set an upper limit on the number of RSS queues
* used by default by multiqueue devices.
int netif_get_num_default_rss_queues()
int netif_get_num_default_rss_queues(void)
return min_t(int, DEFAULT_MAX_NUM_RSS_QUEUES, num_online_cpus());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment