On Wed, 20 Mar 2019 12:54:03 +0800 Qi Zhang <qi.z.zhang at intel.com> wrote: > + ret = rte_ctrl_thread_create(&tid, pthread_name, NULL, > + do_dev_reset, args); > + > + return ret; combine the ret = and return (ie make it a tail call)