diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-08-01 03:57:55 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-08-03 04:21:23 +0200 |
commit | a9c535270d1224ff0e23fa6657e52be4659cf1ff (patch) | |
tree | 100c6e2e7368226b1835385e6fda95cfd17116ac /netrom/netromr.c | |
parent | 2b87888e8428bd55e2b30533914f903782a0c27c (diff) |
treewide: Remove useless casts of function return value to void.
Arguably useful in documenting the return value is intentionally ignored
I think it's just cluttering the screen.
This is using the following semantic patch:
@castvoid@
expression F;
@@
- (void) F
+ F
(...)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'netrom/netromr.c')
-rw-r--r-- | netrom/netromr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netrom/netromr.c b/netrom/netromr.c index ccf6cd2..06ec69b 100644 --- a/netrom/netromr.c +++ b/netrom/netromr.c @@ -183,7 +183,7 @@ void receive_nodes(unsigned char *buffer, int length, ax25_address *neighbour, i quality = port_list[index].default_qual; while (fgets(neigh_buffer, 90, fp) != NULL) { - (void) strtok(neigh_buffer, " "); /* skip addr field */ + strtok(neigh_buffer, " "); /* skip addr field */ callsign = strtok(NULL, " "); device = strtok(NULL, " "); qual = atoi(strtok(NULL, " ")); |