include/linux/mlx5/device.h: kill BUILD_BUG_ON()s
[deliverable/linux.git] / 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.025101 seconds and 5 git commands to generate.