Re: [PATCH 2/9] Staging: bcm: Remove typedef for stLocalSFDeleteIndication and call directly.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 20, 2012 at 10:43:45PM -0400, Kevin McKinney wrote:
> This patch removes typedef for stLocalSFDeleteIndication,
> changes the name of the struct to
> bcm_stlocalsfdelind. In addition, any
> calls to the following typedef
> "stLocalSFDeleteIndication" are changed to call
> the struct directly.

The new name is hard to understand.  I think the "st" in
stLocalSFDeleteIndication and bcm_stlocalsfdelind stands for
struct.  We can remove that.

Does the "local" mean there is also a "remote" version?
SF stands for Service Flow I think.  That seems fine.
It's better to put underscores between words if you can.
So maybe something like:

struct bcm_sf_del_ind {

(I don't know.  I'm just throwing that out there without having
looked very hard at the code).

>  /*
> - * structure stLocalSFDeleteIndication
> + * structure bcm_stlocalsfdelind
>   */

Just remove these comments, don't update them.

regards,
dan carpenter
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux