aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-10-18 13:48:25 -0700
committerDavid S. Miller <davem@davemloft.net>2013-10-19 19:12:11 -0400
commitc1b1203d65955c179fec617ff17a21273f33a414 (patch)
treea84a93bae0abe5e796dce767a320ab4262ffb63f /net/rds/rds.h
parentnet: ipv4/ipv6: Remove extern from function prototypes (diff)
downloadlinux-dev-c1b1203d65955c179fec617ff17a21273f33a414.tar.xz
linux-dev-c1b1203d65955c179fec617ff17a21273f33a414.zip
net: misc: Remove extern from function prototypes
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/rds/rds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index ec1d731ecff0..48f8ffc60f8f 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -749,7 +749,7 @@ void rds_atomic_send_complete(struct rds_message *rm, int wc_status);
int rds_cmsg_atomic(struct rds_sock *rs, struct rds_message *rm,
struct cmsghdr *cmsg);
-extern void __rds_put_mr_final(struct rds_mr *mr);
+void __rds_put_mr_final(struct rds_mr *mr);
static inline void rds_mr_put(struct rds_mr *mr)
{
if (atomic_dec_and_test(&mr->r_refcount))