summaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-10-15 20:53:21 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-17 17:07:22 +0200
commite81c7b69c87297ead2d8a6bdd34a008522204824 (patch)
treed846761637f39e7188b2f6630f6e4ca43bc0fe78 /net/rds/rds.h
parentnet: hip04: Remove superfluous ether_setup after alloc_etherdev (diff)
downloadlinux-e81c7b69c87297ead2d8a6bdd34a008522204824.tar.xz
linux-e81c7b69c87297ead2d8a6bdd34a008522204824.zip
rds: Remove unused rds_conn_error
This macro's last use was removed in commit d769ef81d5b59 ("RDS: Update rds_conn_shutdown to work with rds_conn_path") so make the macro and the __rds_conn_error function definition and declaration disappear. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r--net/rds/rds.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index fd0bccb2f9f9..25532a46602f 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -683,10 +683,6 @@ void rds_for_each_conn_info(struct socket *sock, unsigned int len,
struct rds_info_lengths *lens,
int (*visitor)(struct rds_connection *, void *),
size_t item_len);
-__printf(2, 3)
-void __rds_conn_error(struct rds_connection *conn, const char *, ...);
-#define rds_conn_error(conn, fmt...) \
- __rds_conn_error(conn, KERN_WARNING "RDS: " fmt)
__printf(2, 3)
void __rds_conn_path_error(struct rds_conn_path *cp, const char *, ...);