Re: [PATCH] staging: wlan-ng: remove unused 'result' var

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

 



> you have not mentioned any commit log

Sorry. Patch against linux-next, commit
d7cf2b3139909a354a71e2885c942e21a60ea062

> > @@ -734,11 +732,10 @@ static int prism2mib_priv(struct mibrec *mib,
> >  				wpa.datalen = cpu_to_le16(pstr->len);
> >  				memcpy(wpa.data, pstr->data, pstr->len);
> >  
> > -				result =
> > -				    hfa384x_drvr_setconfig(hw,
> > -						   HFA384x_RID_CNFWPADATA,
> > -						   (u8 *) &wpa,
> > -						   sizeof(wpa));
> > +				hfa384x_drvr_setconfig(hw,
> > +						       HFA384x_RID_CNFWPADATA,
> > +						       (u8 *) &wpa,
> if you check your patch with --strict option then you will see one warning here.

There are many styling offences in this file. I didn't want to include
unrelated changes in one patch.

Grzegorz Swirski.
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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