#ifndef CT_SERVMGMT_H #define CT_SERVMGMT_H #include #include "curve.h" extern void parse_userfile_and_generate_serv_store_or_die(char *homedir); extern void dump_serv_store(void); extern void get_serv_store_entry_by_alias(char *alias, size_t len, char **host, char **port, int *udp); extern struct curve25519_proto *get_serv_store_entry_proto_inf(void); extern unsigned char *get_serv_store_entry_auth_token(void); extern void destroy_serv_store(void); #endif /* CT_SERVMGMT_H */ git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRehas Sachdeva <aquannie@gmail.com>2016-09-16 01:11:08 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-16 10:16:15 +0200
commit29b7d5817bd2795454739226f517fc2b47eb2b51 (patch)
tree6c07c367f32247208a64f88387ed61f277f9e4cb
parent3428e918e25611a08842b37b352ccb1960fbe012 (diff)
staging: lustre: Remove unnecessary return capture
Instead of storing the return value of a function call into a variable and then returning it, we can club the two into a single return statement. This change was made using the following semantic patch by Coccinelle: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/mdc/mdc_request.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/mdc/mdc_request.c b/drivers/staging/lustre/lustre/mdc/mdc_request.c