The `result` variable is not used here, and can be removed.