summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2018-02-12 13:55:47 -0500
committerSteve Dickson <steved@redhat.com>2018-02-12 13:55:47 -0500
commitcd207a5a4d575f959d244769b0e9e5a55d24962a (patch)
tree070033473c12eb014765ae51a9a1ee2760dacc02
parent7388ce1266d52bb7a2fed8405af4cf92633e36e2 (diff)
downloadnfs-utils-cd207a5a4d575f959d244769b0e9e5a55d24962a.tar.gz
Remove nsdb_display_fedfsconnectionsec()
This is a display helper function that is not needed in nfs-utils because nfs-utils does not implement the FedFS ADMIN protocol (and therefore does not need to display ADMIN protocol-related security settings). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--support/include/junction.h1
-rw-r--r--support/junction/display.c20
2 files changed, 0 insertions, 21 deletions
diff --git a/support/include/junction.h b/support/include/junction.h
index a5f3844..67cf017 100644
--- a/support/include/junction.h
+++ b/support/include/junction.h
@@ -118,7 +118,6 @@ FedFsStatus nsdb_posix_to_path_array(const char *pathname,
** Readability helpers
**/
-const char *nsdb_display_fedfsconnectionsec(const FedFsConnectionSec sectype);
const char *nsdb_display_fedfsstatus(const FedFsStatus status);
void nsdb_print_fedfsstatus(const FedFsStatus status);
diff --git a/support/junction/display.c b/support/junction/display.c
index 77b131f..e1e1af1 100644
--- a/support/junction/display.c
+++ b/support/junction/display.c
@@ -32,26 +32,6 @@
#include "junction.h"
/**
- * Return human-readable equivalent of a FedFsConnectionSec value
- *
- * @param sectype FedFsConneccionSec value
- * @return a static NUL-terminated C string
- */
-const char *
-nsdb_display_fedfsconnectionsec(const FedFsConnectionSec sectype)
-{
- switch (sectype) {
- case FEDFS_SEC_NONE:
- return "FEDFS_SEC_NONE";
- case FEDFS_SEC_TLS:
- return "FEDFS_SEC_TLS";
- default:
- break;
- }
- return "unrecognized security type";
-}
-
-/**
* Return human-readable equivalent of a FedFsStatus value
*
* @param status FedFsStatus code