Thomas Winischhofer wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greg KH wrote:
| Ah, one more common style fixup that you should fixup:
|
|
|>+static void sisusb_kill_all_busy(struct sisusb_usb_data *sisusb)
|>+{
|>+ int i;
|>+
|>+ if (sisusb_all_free(sisusb)) {
|>+ return;
|>+ }
|
|
| For if and for loops that only have 1 statement, don't add the { } to
| them, it's not needed.
OK, I know it's not needed. But leaving them out is more error prone and
makes the code less readable due to code entities not appearing in the
same way clearly. Don't you think you're a bit too picky now? ;)
The braces add unneeded noise (they hurt my eyes :).
And Greg is representing the desired and accepted (and expected)
kernel coding style.
--
~Randy
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel