diff options
author | Tom Parkin <tparkin@katalix.com> | 2020-07-23 12:29:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-23 11:54:40 -0700 |
commit | 70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881 (patch) | |
tree | b5b27ef6eeb2de26adbd523121c709b3547747be /net/bridge | |
parent | 0787840dad4ce7875f1e85eb8b72a54e9d87f9db (diff) | |
download | linux-70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881.tar.gz linux-70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881.tar.bz2 linux-70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881.zip |
l2tp: cleanup kzalloc calls
Passing "sizeof(struct blah)" in kzalloc calls is less readable,
potentially prone to future bugs if the type of the pointer is changed,
and triggers checkpatch warnings.
Tweak the kzalloc calls in l2tp which use this form to avoid the
warning.
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions