I assume that you retyped rather than cutting/pasting your code; you forgot some important quotation marks.
You can suppress normal PHP error messages by prepending the @ symbol to the function call:
@unlink("/home/users/$filename");
However, Robert was correct:
if (exists($something)) unlink($something);
... will test for the existence of a file rather than simply trying to unlink missing file. This is better than suppressing the error message because you might miss some other error.