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
changes/32/26132/1
Pau Espin 1 year ago
parent 14015124ed
commit bf129c1437
  1. 2
      src/pcu_vty_functions.cpp

@ -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++) {

Loading…
Cancel
Save