[ofa-general] [PATCH TRIVIAL] opensm/osmtest: remove unused show_menu()
Sasha Khapyorsky
sashak at voltaire.com
Tue Mar 20 18:27:02 PDT 2007
Remove unused show_menu() func from opensm and osmtest.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
osm/opensm/main.c | 10 ----------
osm/osmtest/main.c | 11 -----------
2 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/osm/opensm/main.c b/osm/opensm/main.c
index f572744..5f26638 100644
--- a/osm/opensm/main.c
+++ b/osm/opensm/main.c
@@ -321,16 +321,6 @@ show_usage(void)
/**********************************************************************
**********************************************************************/
-
-void
-show_menu(void)
-{
- printf("\n------- Interactive Menu -------\n");
- printf("X - Exit.\n\n");
-}
-
-/**********************************************************************
- **********************************************************************/
ib_net64_t
get_port_guid(
IN osm_opensm_t *p_osm, uint64_t port_guid )
diff --git a/osm/osmtest/main.c b/osm/osmtest/main.c
index 5f402b7..e0da267 100644
--- a/osm/osmtest/main.c
+++ b/osm/osmtest/main.c
@@ -280,17 +280,6 @@ get_port_guid(
/**********************************************************************
**********************************************************************/
-void show_menu(void);
-
-void
-show_menu( )
-{
- printf( "\n------- Interactive Menu -------\n" );
- printf( "X - Exit\n\n" );
-}
-
-/**********************************************************************
- **********************************************************************/
int
main( int argc,
char *argv[] )
--
1.5.0.3.401.g27ebd
More information about the general
mailing list