All right, but he wrote: "The 2>&1 > /dev/null puts both output stream and error stream to /dev/null (which means nothing printed on console).". So the intention was different.
PS. I think "which" will never produce anything on stderr
PS. I think "which" will never produce anything on stderr