Skip to contentSkip to conversation

nvmet: get rid of extra line in the tcp code

PATCH New Chaitanya Kulkarni 4 participants 4 messages May 15, 2019 – May 23, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvmet: get rid of extra line in the tcp code

This is a code cleanup patch, it doesn't change any functionality, It removes the extra line at the end of the function.

Signed-off-by Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
---
 drivers/nvme/target/tcp.c | 1 -
 1 file changed, 1 deletion(-)
drivers/nvme/target/tcp.c +0 -1
index 69b83fa0c76c..f019af264081 100644
@@ -557,7 +557,6 @@ static int nvmet_try_send_data(struct nvmet_tcp_cmd *cmd)
 	}
 
 	return 1;
-
 }
 
 static int nvmet_try_send_response(struct nvmet_tcp_cmd *cmd,
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 nvmet: get rid of extra line in the tcp code

Looks fine,

Reviewed-by Christoph Hellwig <hch at lst.de>
#2 lore raw

PATCH 1/1 nvmet: get rid of extra line in the tcp code

In reply to Chaitanya Kulkarni
Quoted 13 lines · Chaitanya Kulkarni

This is a code cleanup patch, it doesn't change any functionality, It removes the extra line at the end of the function.

Signed-off-by Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
---
  drivers/nvme/target/tcp.c | 1 -
  1 file changed, 1 deletion(-)
drivers/nvme/target/tcp.c +0 -0
index 69b83fa0c76c..f019af264081 100644

drivers/nvme/target/tcp.c static int nvmet_try_send_data(struct nvmet_tcp_cmd *cmd) · line 562

Quoted 7 lines
drivers/nvme/target/tcp.c +0 -1
@@ -557,7 +557,6 @@ static int nvmet_try_send_data(struct nvmet_tcp_cmd *cmd)
  	}
 
  	return 1;
-
  }
 
  static int nvmet_try_send_response(struct nvmet_tcp_cmd *cmd,

Looks good,

Reviewed-by Max Gurtovoy <maxg at mellanox.com>