From 6276436bfa71fb22c4cb2ff09faa8d75e4c473a1 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 5 Jun 2013 02:39:22 +0200 Subject: Remove pointless return statements at the end of void functions. Signed-off-by: Ralf Baechle --- ax25ipd/kiss.c | 1 - ax25ipd/routing.c | 2 -- call/call.c | 3 --- 3 files changed, 6 deletions(-) diff --git a/ax25ipd/kiss.c b/ax25ipd/kiss.c index c7d692c..a1c3e1c 100644 --- a/ax25ipd/kiss.c +++ b/ax25ipd/kiss.c @@ -162,7 +162,6 @@ void param_add(int p, int v) param_tbl[param_tbl_top].parameter, param_tbl[param_tbl_top].value); param_tbl_top++; - return; } /* dump the contents of the parameter table */ diff --git a/ax25ipd/routing.c b/ax25ipd/routing.c index 1aca2b0..2ba5a9c 100644 --- a/ax25ipd/routing.c +++ b/ax25ipd/routing.c @@ -99,8 +99,6 @@ void route_add(unsigned char *ip, unsigned char *call, int udpport, call_to_a(rn->callsign), inet_ntoa(rn->ip_addr_in), rn->udp_port ? "udp" : "ip", ntohs(rn->udp_port), flags); - - return; } /* Add a new broadcast address entry */ diff --git a/call/call.c b/call/call.c index 9ad8e41..ec391b2 100644 --- a/call/call.c +++ b/call/call.c @@ -1023,8 +1023,6 @@ void writeincom(int mode, t_win * win_in, unsigned char buf[], int bytes) /* waddnstr(win_in->ptr, buf, bytes); */ wrefresh(win_in->ptr); - - return; } int getstring(wint * wintab, char text[], char buf[]) @@ -1521,7 +1519,6 @@ void statbits(int mode, char stat, int m) addch(stat); attroff(A_REVERSE); refresh(); - return; } -- cgit v1.2.3