diff options
author | Hoang Huu Le <hoang.h.le@dektech.com.au> | 2021-01-27 09:51:23 +0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-27 18:50:07 -0800 |
commit | 2a9063b7fface7e665e9be62e14aa8b0ed207e2f (patch) | |
tree | 63587ef1ff68e68d59f02ebbebef2b1ea7ca26b5 /kernel/kcmp.c | |
parent | c7f3489bfce36d273c51e2c29d7ff2b9184ab145 (diff) | |
download | linux-2a9063b7fface7e665e9be62e14aa8b0ed207e2f.tar.gz linux-2a9063b7fface7e665e9be62e14aa8b0ed207e2f.tar.bz2 linux-2a9063b7fface7e665e9be62e14aa8b0ed207e2f.zip |
tipc: remove duplicated code in tipc_msg_create
Remove a duplicate code checking for header size in tipc_msg_create() as
it's already being done in tipc_msg_init().
Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Hoang Huu Le <hoang.h.le@dektech.com.au>
Link: https://lore.kernel.org/r/20210127025123.6390-1-hoang.h.le@dektech.com.au
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions