From fee275d051830a5a48e3c87d483f732eb6625419 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 20 Sep 2016 10:11:02 +1000 Subject: include/linux/mlx5/device.h: kill BUILD_BUG_ON()s these go splat for me Signed-off-by: Andrew Morton --- include/linux/mlx5/device.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h index 77c141797152..37a130eff270 100644 --- a/include/linux/mlx5/device.h +++ b/include/linux/mlx5/device.h @@ -93,8 +93,6 @@ __mlx5_mask(typ, fld)) }) #define MLX5_SET64(typ, p, fld, v) do { \ - BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \ - BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \ *((__be64 *)(p) + __mlx5_64_off(typ, fld)) = cpu_to_be64(v); \ } while (0) -- cgit v1.2.1