On Tue, Dec 9, 2014 at 9:42 PM, David Miller [off-list ref] wrote:
From: Or Gerlitz <redacted>
Date: Thu, 4 Dec 2014 15:13:51 +0200
quoted
+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.
sure, we will fix that, I see now that we have two fixes to apply, so
will respin the series and send it to you tomorrow.