UPSTREAM: staging/gdm72xx: Remove duplicated code in gdm_qos.c