vty_custom_table_ready: simplify

This commit is contained in:
Jonathan Daugherty 2020-03-05 14:19:42 -08:00
parent b988b6894e
commit 0de76e531e

View File

@ -318,7 +318,7 @@ int vty_activate_custom_table()
// Returns whether a custom character width table has been marked ready.
int vty_custom_table_ready()
{
return ((custom_table != NULL) && custom_table_ready);
return custom_table_ready;
}
// Deallocate the custom width table.