mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
errors: Remove unused unix_to_werror()
This commit is contained in:
@ -144,12 +144,6 @@ NTSTATUS map_nt_error_from_unix(int unix_error)
|
||||
return NT_STATUS_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
/* Convert a Unix error code to a WERROR. */
|
||||
WERROR unix_to_werror(int unix_error)
|
||||
{
|
||||
return ntstatus_to_werror(map_nt_error_from_unix(unix_error));
|
||||
}
|
||||
|
||||
/* Return a UNIX errno from a NT status code */
|
||||
static const struct {
|
||||
NTSTATUS status;
|
||||
|
Reference in New Issue
Block a user