vty: show tbf: Drop unneeded check for non-null ms

Since a while a go, a TBF is guaranteed to always have a MS assigned.
Hence, there's no point in checking it.

Change-Id: I89e062432ac671c73731ce68c889aeb5e24277f5
This commit is contained in:
Pau Espin 2021-11-05 20:46:06 +01:00
parent 14015124ed
commit bf129c1437
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ static void tbf_print_vty_info(struct vty *vty, struct gprs_rlcmac_tbf *tbf)
tbf->first_ts,
tbf->first_common_ts, tbf->control_ts,
tbf->ms_class(),
tbf->ms() ? ms_egprs_ms_class(tbf->ms()) : -1,
ms_egprs_ms_class(tbf->ms()),
VTY_NEWLINE);
vty_out(vty, " TS_alloc=");
for (int i = 0; i < 8; i++) {