[PATCH 2/2] staging: kpc2000: remove unnecessary comments in kp2000_pcie_probe

Dan Carpenter dan.carpenter at oracle.com
Wed Jun 12 07:39:36 UTC 2019


On Mon, Jun 10, 2019 at 10:05:35PM +0200, Simon Sandström wrote:
> @@ -349,9 +340,7 @@ static int kp2000_pcie_probe(struct pci_dev *pdev,
>  		goto err_remove_ida;
>  	}
>  
> -	/*
> -	 * Step 4: Setup the Register BAR
> -	 */
> +	// Setup the Register BAR

Greg, are we moving the C++ style comments?  Linus is fine with them.  I
don't like them but whatever...

>  	reg_bar_phys_addr = pci_resource_start(pcard->pdev, REG_BAR);
>  	reg_bar_phys_len = pci_resource_len(pcard->pdev, REG_BAR);
>  

regards,
dan carpenter


More information about the devel mailing list