From 0cb7f6fbb7cadff4ab4d390475176fecc1232017 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 15 May 2024 11:57:49 +0900 Subject: [PATCH] common: Remove unused function. * common/exechelp-posix.c (my_error): Remove. -- Signed-off-by: NIIBE Yutaka --- common/exechelp-posix.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/exechelp-posix.c b/common/exechelp-posix.c index 7b20a3796..d90b4e8c7 100644 --- a/common/exechelp-posix.c +++ b/common/exechelp-posix.c @@ -84,12 +84,6 @@ my_error_from_syserror (void) return gpg_err_make (default_errsource, gpg_err_code_from_syserror ()); } -static inline gpg_error_t -my_error (int errcode) -{ - return gpg_err_make (default_errsource, errcode); -} - /* Return the maximum number of currently allowed open file descriptors. Only useful on POSIX systems but returns a value on