remove some unnecessary code

(cherry picked from commit 4dcf59c8f4)
This commit is contained in:
Jay Sorg 2024-05-21 21:04:16 -07:00 committed by Koichiro Iwao
parent 099575056e
commit 3a2e0eb8cd

View File

@ -53,15 +53,8 @@ struct x264_global
void *
xrdp_encoder_x264_create(void)
{
struct x264_global *xg;
LOG_DEVEL(LOG_LEVEL_TRACE, "xrdp_encoder_x264_create:");
xg = g_new0(struct x264_global, 1);
if (xg == NULL)
{
return NULL;
}
return xg;
return g_new0(struct x264_global, 1);
}
/*****************************************************************************/