Re: [PATCH net-next 06/10] net/mlx4: Add mlx4_bitmap zone allocator From: David Miller <davem@davemloft.net> Date: 2014-12-09 19:42:12 From: Or Gerlitz <redacted> Date: Thu, 4 Dec 2014 15:13:51 +0200 +static u32 mlx4_bitmap_max(struct mlx4_bitmap *bitmap) +{ + return bitmap->max; +} + +static u32 mlx4_bitmap_effective_len(struct mlx4_bitmap *bitmap) +{ + return bitmap->effective_len; +} Using functions for just accessing structure members is excessive, please just open code this. Thanks.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help