[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151012.053139.813936137450671826.davem@davemloft.net>
Date: Mon, 12 Oct 2015 05:31:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sshah@...arflare.com
Cc: netdev@...r.kernel.org, linux-net-drivers@...arflare.com
Subject: Re: [PATCH net-next 1/1] sfc: replace spinlocks with bit ops for
busy poll locking
From: Shradha Shah <sshah@...arflare.com>
Date: Fri, 9 Oct 2015 10:18:56 +0100
> static void efx_remove_port(struct efx_nic *efx);
> -static void efx_init_napi_channel(struct efx_channel *channel);
> +static int efx_init_napi_channel(struct efx_channel *channel);
The changes to modify the call chain to return a status code is
completely unnecessary, and distracts from the core of what this
patch is actually doing.
Nothing signals an error, all of these code paths return '0',
so it's pointless to return a status or check such statuses.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists