ipv4: raw: remove useless input parameter in do_raw_set/getsockopt
authorZhengchao Shao <shaozhengchao@huawei.com>
Wed, 28 Feb 2024 07:25:05 +0000 (15:25 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 29 Feb 2024 09:35:07 +0000 (10:35 +0100)
commit8b2b1e62cdb9ce36886e77c90a9594e41f3a2112
treee2fa3c09465cbf1e7b3b8bba94de77a00e5cc985
parentbe9bd8d4e52a288a23d9c310462e4a3b25edf35c
ipv4: raw: remove useless input parameter in do_raw_set/getsockopt

The input parameter 'level' in do_raw_set/getsockopt() is not used.
Therefore, remove it.

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240228072505.640550-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/ipv4/raw.c