linkGlobalVariableProto never returns null. Simplify the caller. NFC.