summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGioh Kim <gi-oh.kim@ionos.com>2022-01-14 16:47:49 +0100
committerJason Gunthorpe <jgg@nvidia.com>2022-01-28 15:55:57 +0100
commit44c3aa585cf8ab57b018fe75f6fb64a72a0a9932 (patch)
tree53f9bda5d8749a5c28b4f304785c9debea4f004c
parentRDMA/pvrdma: Remove useless DMA-32 fallback configuration (diff)
downloadlinux-44c3aa585cf8ab57b018fe75f6fb64a72a0a9932.tar.xz
linux-44c3aa585cf8ab57b018fe75f6fb64a72a0a9932.zip
RDMA/rtrs: Remove empty line after bracket
Fix: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' Link: https://lore.kernel.org/r/20220114154753.983568-2-haris.iqbal@ionos.com Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com> Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
-rw-r--r--drivers/infiniband/ulp/rtrs/rtrs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/rtrs/rtrs.c b/drivers/infiniband/ulp/rtrs/rtrs.c
index 4da889103a5f..60fa0b0160f4 100644
--- a/drivers/infiniband/ulp/rtrs/rtrs.c
+++ b/drivers/infiniband/ulp/rtrs/rtrs.c
@@ -479,7 +479,6 @@ static int rtrs_str_to_sockaddr(const char *addr, size_t len,
*/
int sockaddr_to_str(const struct sockaddr *addr, char *buf, size_t len)
{
-
switch (addr->sa_family) {
case AF_IB:
return scnprintf(buf, len, "gid:%pI6",