lib/ubsan: remove null-pointer checks
[sfrench/cifs-2.6.git] / scripts / Makefile.ubsan
index b593b36ccff86910644c63346af8e497346ebab4..38b2b4818e8ebfbe9d19deb0aebef5fdbcc19d28 100644 (file)
@@ -14,10 +14,6 @@ ifdef CONFIG_UBSAN_ALIGNMENT
       CFLAGS_UBSAN += $(call cc-option, -fsanitize=alignment)
 endif
 
-ifdef CONFIG_UBSAN_NULL
-      CFLAGS_UBSAN += $(call cc-option, -fsanitize=null)
-endif
-
       # -fsanitize=* options makes GCC less smart than usual and
       # increase number of 'maybe-uninitialized false-positives
       CFLAGS_UBSAN += $(call cc-option, -Wno-maybe-uninitialized)