Re: [RFC PATCH net-next] tun: support retrieving multiple packets in a single read with IFF_MULTI_READ

From: Stephen Hemminger
Date: Tue Dec 09 2014 - 17:19:47 EST


On Thu, 4 Dec 2014 20:00:00 -0800
Alex Gartrell <agartrell@xxxxxx> wrote:

>
> +static inline size_t tun_calc_max_put_len(const struct tun_struct *tun)
> +{
> + size_t len = 0;

No need for inline with local static function. Let compiler decide.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/