diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-03-25 23:41:07 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-03-27 08:56:21 +0100 |
commit | ba426e3b0c12486a6767000da77492fe50ba26ff (patch) | |
tree | a99a22ce41c460a68a848e111d4621ab498c281b /include/osmocom/core/panic.h | |
parent | 115a2ccae5b02f10e377bd0f339aac875913f18d (diff) |
core/msgb.h: drop meaningless parameter of msgb_eq_* helpers
Thanks to the following Doxygen warning:
msgb.h:XXX: warning: The following parameters of
msgb_eq_l2(msg1, msgb2, len) are not documented:
parameter 'msgb2'
parameter 'len'
it was discovered that parameter 'len' is not required at all.
It basically doesn't make any sense to pass any length value,
because it can be calculated using msgb_length().
Let's drop this parameter. Given that this part of the API was
broken so far (see I1079d629abdb8770eef6be7341e586a933cd9cca),
it should be more or less safe to do this.
Change-Id: Icd9b72eb6bfa9628ff1ed2f948b57058551a4328
Diffstat (limited to 'include/osmocom/core/panic.h')
0 files changed, 0 insertions, 0 deletions