Optimize the debug case
Sean Bruno
sean.bruno at dsl-only.net
Tue Feb 17 11:40:17 PST 2009
This patch adds a new variable "bustgtlun" to use in replacement of
the overloaded sbp_show_sdev_info() function.
Copy the string only once into bustgtlun and then use that in all
related printf/device_printf calls.
Refactor a couple of printf statements to be more readable and remove
some commented out code.
Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbp.c.diff
Type: text/x-patch
Size: 18228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-firewire/attachments/20090217/781fe467/sbp.c.bin
More information about the freebsd-firewire
mailing list