summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2016-08-24 09:15:10 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2016-08-25 14:11:51 +1000
commit2874a87254338570b45e6d5632f93e312da648f0 (patch)
treed7459f660c819a1129a2f5a99b726ae06a6935b6
parentbdf32da4ab918493e9dd6030d0c1f2f9b644b572 (diff)
downloadlinux-next-2874a87254338570b45e6d5632f93e312da648f0.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.h2
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)