diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2016-09-20 10:11:02 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-09-20 17:27:17 +1000 |
commit | fee275d051830a5a48e3c87d483f732eb6625419 (patch) | |
tree | e9c54aa518d291fdfcf798bf00cfec4983039341 | |
parent | ef9ed64b0e28a4903473958da6ac96e8e128ef9b (diff) | |
download | linux-next-fee275d051830a5a48e3c87d483f732eb6625419.tar.gz |
include/linux/mlx5/device.h: kill BUILD_BUG_ON()s
these go splat for me
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | include/linux/mlx5/device.h | 2 |
1 files changed, 0 insertions, 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) |