On Tue, Jan 22, 2019 at 11:31:34PM +0100, David Kozub wrote: > From: Jonas Rabenstein <jonas.rabenstein@xxxxxxxxxxxxxxxxxxxxxxx> > > All add_token_* functions have a common set of conditions that have to > be checked. Use a common function for those checks in order to avoid > different behaviour as well as code duplication. > > Co-authored-by: David Kozub <zub@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Jonas Rabenstein <jonas.rabenstein@xxxxxxxxxxxxxxxxxxxxxxx> > Signed-off-by: David Kozub <zub@xxxxxxxxxxxxxxxxxx> Reviewed-by: Scott Bauer <sbauer@xxxxxxxxxxxxxx>