From c6a62f60a23fdadb99da4d4b47694b273342f2a7 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 15 Nov 2011 16:20:44 -0800 Subject: [PATCH] We've already checked fsp must be non-null here. --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index caea4378e3..05c180fc5d 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -5773,7 +5773,7 @@ static NTSTATUS smb_set_file_full_ea_info(connection_struct *conn, return NT_STATUS_INVALID_PARAMETER; } - if (fsp && !(fsp->access_mask & FILE_WRITE_EA)) { + if (!(fsp->access_mask & FILE_WRITE_EA)) { return NT_STATUS_ACCESS_DENIED; } -- 2.45.1