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

Stephen Hemminger
2014-12-09T22:19:45Z

On Thu, 4 Dec 2014 20:00:00 -0800
Alex Gartrell <agartrell@fb.com> 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.