Skip to contentSkip to conversation

ibmvscsi:Remove no longer required comments about return values in the file ibmvfc.c

PATCH Tyrel Datwyler 1 participant 1 message Jul 16, 2015 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tyrel Datwyler

author Acked-by
#1 lore raw
Quoted 6 lines · Nicholas Krause

This removes the no longer require comments about the return values for the functions ibmvfc_init_host and ibmvfc_reinit_host due to these functions being declared to have a return type of void thus making this comments invalid.

Some grammar nit picking. Aside from a couple spelling errors the wording is a little difficult. Refer to Documentation/SubmittingPatches section 2. In particular it suggests using the imperative mood. Something like this would work better:

"Remove comments about return values from ibmvfc_init_host() and ibmvfc_reinit_host() as they are both declared to have return type void."

Otherwise,

Quoted 27 lines
---
 drivers/scsi/ibmvscsi/ibmvfc.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/scsi/ibmvscsi/ibmvfc.c +0 -4
index 057d277..c6582db 100644
@@ -528,8 +528,6 @@ static void ibmvfc_set_host_action(struct ibmvfc_host *vhost,
  * ibmvfc_reinit_host - Re-start host initialization (no NPIV Login)
  * @vhost:		ibmvfc host struct
  *
- * Return value:
- *	nothing
  **/
 static void ibmvfc_reinit_host(struct ibmvfc_host *vhost)
 {
@@ -570,8 +568,6 @@ static void ibmvfc_link_down(struct ibmvfc_host *vhost,
  * ibmvfc_init_host - Start host initialization
  * @vhost:		ibmvfc host struct
  *
- * Return value:
- *	nothing
  **/
 static void ibmvfc_init_host(struct ibmvfc_host *vhost)
 {