[PATCH] dxdiagn: Remove useless cast to self