staging: unisys: virtpci: Adjust lines to contain a maximum of 80 characters
authorBryan Thompson <bryan.thompson@unisys.com>
Thu, 30 Oct 2014 20:18:53 +0000 (16:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 20:35:36 +0000 (13:35 -0700)
Update delete_all_virt function definition to two lines so each line is less than 80
characters long.

Move comments on virtpci_device_add function parameters to a header block to contain
each line to 80 characters.

Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/virtpci/virtpci.c

index 928f0fde11bdf79b7080ded84d3aabdd107a1e8c..b6c3130008993305ad232069d53cec4945f014f4 100644 (file)
@@ -897,10 +897,13 @@ static void virtpci_bus_release(struct device *dev)
 /* Adapter functions                                 */
 /*****************************************************/
 
+/* scsi is expected to be NULL for VNIC add
+ * net is expected to be NULL for VHBA add
+ */
 static int virtpci_device_add(struct device *parentbus, int devtype,
                              struct add_virt_guestpart *addparams,
-                             struct scsi_adap_info *scsi, /* NULL for VNIC add */
-                             struct net_adap_info *net /* NULL for VHBA add */)
+                             struct scsi_adap_info *scsi,
+                             struct net_adap_info *net)
 {
        struct virtpci_dev *virtpcidev = NULL;
        struct virtpci_dev *tmpvpcidev = NULL, *prev;