mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
osasnmpd: remove unused code, improve readability
Remove unused code because query_OSA_EXP does actually never return -1. So make its return value unsigned and remove all checks for negative return values. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
66ed1727f9
commit
ff2a403bd2
@@ -91,7 +91,7 @@ void update_mib_info ( );
|
||||
int query_IF_MIB( IF_LIST** );
|
||||
|
||||
/* retrieves OSA Express interface information from kernel */
|
||||
int query_OSA_EXP ( IF_LIST** ,int );
|
||||
unsigned int query_OSA_EXP ( IF_LIST** ,int );
|
||||
|
||||
/* get time of day */
|
||||
int get_time( char* );
|
||||
|
||||
Reference in New Issue
Block a user