pcu_sock: cosmetic: remove unnecessary line breaks

Change-Id: I8cb2979c62ebb05d06af49b40b145b7dee826cb1
This commit is contained in:
Philipp Maier 2023-03-06 12:43:50 +01:00
parent cc13ea8b66
commit 66bcdd839c
1 changed files with 2 additions and 4 deletions

View File

@ -1170,8 +1170,7 @@ static int pcu_sock_accept(struct osmo_fd *bfd, unsigned int flags)
}
if (conn_bfd->fd >= 0) {
LOGP(DPCU, LOGL_NOTICE, "PCU connects but we already have "
"another active connection ?!?\n");
LOGP(DPCU, LOGL_NOTICE, "PCU connects but we already have another active connection ?!?\n");
/* We already have one PCU connected, this is all we support */
state->listen_bfd.when &= ~OSMO_FD_READ;
close(fd);
@ -1181,8 +1180,7 @@ static int pcu_sock_accept(struct osmo_fd *bfd, unsigned int flags)
osmo_fd_setup(conn_bfd, fd, OSMO_FD_READ, pcu_sock_cb, state, 0);
if (osmo_fd_register(conn_bfd) != 0) {
LOGP(DPCU, LOGL_ERROR, "Failed to register new connection "
"fd\n");
LOGP(DPCU, LOGL_ERROR, "Failed to register new connection fd\n");
close(conn_bfd->fd);
conn_bfd->fd = -1;
return -1;