include/linux/mlx5/device.h: kill BUILD_BUG_ON()s
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 10 Sep 2016 10:36:33 +0000 (20:36 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Sep 2016 03:57:02 +0000 (13:57 +1000)
these go splat for me

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mlx5/device.h

index 77c141797152ef80af0a9e2d0070bfc56e796f27..37a130eff270710c120801b28bff1c0add7fda66 100644 (file)
@@ -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)
 
This page took 0.024479 seconds and 5 git commands to generate.