[PATCH 05/15] lib: Drop unnecessary check for hex digit