ubsan: Remove vla bound checks.

The kernel the kernel is built with -Wvla for some time, so is not
supposed to have any variable length arrays.  Remove vla bounds checking
from ubsan since it's useless now.

Signed-off-by: Andrey Ryabinin <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Andrey Ryabinin 2019-05-06 13:45:27 +03:00 • committed by Linus Torvalds
commit 9a91ad929f
3 changed files with 0 additions and 24 deletions

View file

@ -57,11 +57,6 @@ struct nonnull_arg_data {
int arg_index;
};
struct vla_bound_data {
struct source_location location;
struct type_descriptor *type;
};
struct out_of_bounds_data {
struct source_location location;
struct type_descriptor *array_type;