mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
cpacfstats: white space fix in cpacfstats/cpacfstatsd.c
Signed-off-by: Finn Callies <fcallies@linux.ibm.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
41eb7d076f
commit
c364692e7a
@@ -108,7 +108,6 @@ static int recv_query(int s, enum ctr_e *ctr, enum cmd_e *cmd)
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
static int send_answer(int s, int ctr, int state, uint64_t value)
|
||||
{
|
||||
struct msg m;
|
||||
@@ -124,7 +123,6 @@ static int send_answer(int s, int ctr, int state, uint64_t value)
|
||||
return send_msg(s, &m, DEFAULT_SEND_TIMEOUT);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Print according to protocol for PAI:
|
||||
* - first the state and the number of PAI counters that follow
|
||||
@@ -160,7 +158,6 @@ static int do_send_pai(int s, int user, unsigned int *counter)
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
static int do_enable(int s, enum ctr_e ctr, unsigned int *supported_counters)
|
||||
{
|
||||
uint64_t value = 0;
|
||||
@@ -201,7 +198,6 @@ static int do_enable(int s, enum ctr_e ctr, unsigned int *supported_counters)
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
static int do_disable(int s, enum ctr_e ctr, unsigned int *supported_counters)
|
||||
{
|
||||
int i, rc = 0;
|
||||
@@ -228,7 +224,6 @@ static int do_disable(int s, enum ctr_e ctr, unsigned int *supported_counters)
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
static int do_reset(int s, enum ctr_e ctr, unsigned int *supported_counters)
|
||||
{
|
||||
int i, rc = 0, state;
|
||||
@@ -260,7 +255,6 @@ static int do_reset(int s, enum ctr_e ctr, unsigned int *supported_counters)
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
static int do_print(int s, enum ctr_e ctr, unsigned int *supported_counters)
|
||||
{
|
||||
int i, rc = 0, state;
|
||||
@@ -292,7 +286,6 @@ static int do_print(int s, enum ctr_e ctr, unsigned int *supported_counters)
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
static int become_daemon(int *startup_pipe)
|
||||
{
|
||||
int child_initialized = 0, fd;
|
||||
@@ -385,7 +378,6 @@ static int become_daemon(int *startup_pipe)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static void remove_sock(void)
|
||||
{
|
||||
remove(SOCKET_FILE);
|
||||
@@ -447,14 +439,12 @@ static void remove_pidfile(void)
|
||||
remove(PID_FILE);
|
||||
}
|
||||
|
||||
|
||||
void signalhandler(int sig)
|
||||
{
|
||||
perf_stop();
|
||||
stopsig = sig;
|
||||
}
|
||||
|
||||
|
||||
int eprint(const char *format, ...)
|
||||
{
|
||||
char buf[512];
|
||||
@@ -476,7 +466,6 @@ int eprint(const char *format, ...)
|
||||
return n;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* returns -1 on error
|
||||
* returns X where X is the found counters in dir
|
||||
|
||||
Reference in New Issue
Block a user