This makes it look like the cb is expected to return something useful, and like this function is supposed to return something useful. Please re-write as:

if (err) {
  cb(err);
  return;
}