Searched hist:299176 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_urtw.cdiff 299176 Fri May 06 13:18:32 MDT 2016 pfg dev/usb: unsigned some loop indexes.

Although usually small, values produced by nitems() are unsigned.
By unsigning the corresponding indexes we avoid signed vs unsigned
comparisons. This may have some effect on performance, although given the
small sizes the effect will not be perceivable, and it makes the code
clearer.

Respect the style of the changed files: one uses u_int while the other
uses "unsigned int".

Reviewed by: hselasky
H A Dif_run.cdiff 299176 Fri May 06 13:18:32 MDT 2016 pfg dev/usb: unsigned some loop indexes.

Although usually small, values produced by nitems() are unsigned.
By unsigning the corresponding indexes we avoid signed vs unsigned
comparisons. This may have some effect on performance, although given the
small sizes the effect will not be perceivable, and it makes the code
clearer.

Respect the style of the changed files: one uses u_int while the other
uses "unsigned int".

Reviewed by: hselasky

Completed in 98 milliseconds